{"version":3,"file":"Example.js@_1.0.pmqxwLbS.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/uiGH0KQ0D68SUzw4tYqO/M7fI2RVZeXDYOYPARpRY/Example.js","https:/framer.com/m/framer/Example.js@^1.0.0"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState}from\"react\";import{motion}from\"framer-motion\";import{addPropertyControls,ControlType}from\"framer\";// Welcome to Code in Framer\n// Get Started: https://www.framer.com/docs/guides/\n/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/docs/guides/auto-sizing\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */ export default function Example(props){const{tint,style}=props;const[active,setActive]=useState(false);return(/*#__PURE__*/ _jsx(motion.div,{style:{...style,...containerStyle},children:/*#__PURE__*/ _jsx(motion.div,{onTap:()=>setActive(!active),style:{margin:50,padding:75,borderRadius:30,backgroundColor:tint},whileHover:{rotate:90},animate:{scale:active?1.25:1}})}));};Example.defaultProps={tint:\"#09F\"};addPropertyControls(Example,{tint:{title:\"Tint\",type:ControlType.Color}});const containerStyle={height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",overflow:\"hidden\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Example\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Example.map","/*\n * Example (framer/Example@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/uiGH0KQ0D68SUzw4tYqO/M7fI2RVZeXDYOYPARpRY/Example.js\"\nexport { default } from \"https://framerusercontent.com/modules/uiGH0KQ0D68SUzw4tYqO/M7fI2RVZeXDYOYPARpRY/Example.js\"\n"],"mappings":"2NAQI,SAAwB,EAAQ,EAAM,CAAC,GAAK,CAAC,OAAK,SAAO,EAAW,CAAC,EAAO,GAAWA,EAAS,EAAK,EAAE,OAAqB,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,GAAG,EAAM,GAAG,CAAc,EAAE,SAAuB,EAAK,EAAO,IAAI,CAAC,UAAU,EAAU,CAAC,CAAM,EAAE,MAAM,CAAC,OAAO,GAAG,QAAQ,GAAG,aAAa,GAAG,gBAAgB,CAAI,EAAE,WAAW,CAAC,OAAO,EAAE,EAAE,QAAQ,CAAC,MAAM,EAAO,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAG,mBAR3U,IAA4B,IAAkC,IAAoD,EAQ2N,EAAQ,aAAa,CAAC,KAAK,MAAM,EAAE,EAAoB,EAAQ,CAAC,KAAK,CAAC,MAAM,OAAO,KAAK,EAAY,KAAK,CAAC,CAAC,EAAQ,EAAe,CAAC,OAAO,OAAO,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,SAAS,QAAQ,qBCDje"}