{"version":3,"file":"Styled_scrollbar.-c2fXarD.mjs","names":[],"sources":["https:/framerusercontent.com/modules/HGZccJpnSZncv8HncvXs/Ybq4W7JHwgiKL9YUdnXg/Styled_scrollbar.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";export const withCustomScrollbar=Component=>{return props=>{const{style,...rest}=props;return /*#__PURE__*/_jsxs(Component,{...rest,style:{...style,overflow:\"scroll\",scrollbarWidth:\"auto\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                    ::-webkit-scrollbar {\n                        width: 12px;\n                    }\n\n                    /* Ensure transparency for the scrollbar track */\n                    ::-webkit-scrollbar-track {\n                        background-color: rgba(0, 0, 0, 0) !important;\n                    }\n\n                    /* Additional rules to enforce transparent background */\n                    ::-webkit-scrollbar-track-piece {\n                        background-color: rgba(0, 0, 0, 0) !important;\n                    }\n\n                    /* Style the scrollbar thumb (the part you can drag) */\n                    ::-webkit-scrollbar-thumb {\n                        background-color: grey;\n                        border-radius: 10px;\n                    }\n\n                    /* Ensure scrollbar corner is transparent too */\n                    ::-webkit-scrollbar-corner {\n                        background-color: rgba(0, 0, 0, 0) !important;\n                    }\n                `}),props.children]});};};\nexport const __FramerMetadata__ = {\"exports\":{\"withCustomScrollbar\":{\"type\":\"reactHoc\",\"name\":\"withCustomScrollbar\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Styled_scrollbar.map"],"mappings":"8HAAyD,CAAa,EAAoB,GAAmB,GAAO,CAAC,GAAK,CAAC,QAAM,GAAG,GAAM,EAAM,OAAoB,EAAM,EAAU,CAAC,GAAG,EAAK,MAAM,CAAC,GAAG,EAAM,SAAS,SAAS,eAAe,OAAO,CAAC,SAAS,CAAc,EAAK,QAAQ,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;kBAyBlR,CAAC,CAAC,EAAM,SAAS,CAAC,CAAC"}