{"version":3,"sources":["StopScroll_Prod.tsx"],"sourcesContent":["import { addPropertyControls, ControlType } from \"framer\"\nimport { useEffect } from \"react\"\n\n/**\n * @framerDisableUnlink\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */\nexport default function StopScroll(props) {\n    const { toggle } = props\n\n    return toggle ? (\n        <style\n            data-frameruni-stop-scroll\n        >{`body { overflow: hidden !important; }`}</style>\n    ) : (\n        <></>\n    )\n}\n\nStopScroll.displayName = \"Stop Scroll\"\n\naddPropertyControls(StopScroll, {\n    toggle: {\n        type: ControlType.Boolean,\n        title: \"Block Scroll\",\n        description:\n            \"More components at [Framer University](https://frameruni.link/cc).\",\n    },\n})\n"],"names":[],"mappings":"iEAAA,OAAS,mBAAmB,CAAE,WAAW,KAAQ,SAAQ,AAGzD;;;;;CAKC,EACD,eAAe,SAAS,WAAW,KAAK,EACpC,KAAM,CAAE,MAAM,CAAE,CAAG,MAEnB,OAAO,oBACH,KAAC,SACG,4BAA0B,eAC5B,CAAC,qCAAqC,CAAC,gBAEzC,mBAER,CAEA,WAAW,WAAW,CAAG,cAEzB,oBAAoB,WAAY,CAC5B,OAAQ,CACJ,KAAM,YAAY,OAAO,CACzB,MAAO,eACP,YACI,oEACR,CACJ"}