{"version":3,"file":"Button_component.DCjQvbys.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/tYvVTXoLEansxEj5uHya/ahMe3pwZgj3nm1nd2qi8/Button_component.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState}from\"react\";export default function Button(props){const style={display:\"inline-block\",backgroundColor:\"orange\",padding:8};const[isHovered,setIsHovered]=useState(false);return /*#__PURE__*/_jsx(\"a\",{href:props.href,style:{textDecoration:\"none\"},children:/*#__PURE__*/_jsxs(\"button\",{type:\"button\",onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>setIsHovered(false),style:{display:\"flex\",marginLeft:\"0rem\",cursor:\"pointer\",fontFamily:\"Satoshi, sans-serif\",fontSize:\"18px\",padding:\"8px 0rem 8px 14px\",borderRadius:\"95px\",width:\"auto\",border:\"2px solid #D67C51\",backgroundColor:\"#D67C51\",color:isHovered?\"#D67C51\":\"#fff\",transition:\"all 0.5s ease-in-out\",overflow:\"hidden\",zIndex:\"1\",position:\"relative\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{display:\"flex\",alignItems:\"center\",lineHeight:\"30px\",color:isHovered?\"#D67C51\":\"#fff\",transition:\"all 0.5s ease-in-out\",fontWeight:\"500\",zIndex:\"3\"},children:props.text}),/*#__PURE__*/_jsx(\"div\",{className:\"fancy-arrow\",style:{position:\"relative\",left:\"13px\",top:\"8%\",borderRadius:\"25px\",alignItems:\"center\",backgroundColor:\"transparent\",display:\"flex\",flexShrink:0,height:\"32px\",justifyContent:\"center\",zIndex:2},children:/*#__PURE__*/_jsx(\"img\",{src:\"https://media2.charityengine.net/WF/_transactionServerFiles/1078/cbimage.png\",alt:\"\",style:{marginLeft:\"10px\"}})}),/*#__PURE__*/_jsx(\"div\",{className:\"fancy-arrow-fk\",style:{position:\"relative\",left:\"-11px\",top:\"8%\",borderRadius:\"25px\",alignItems:\"center\",backgroundColor:\"#fff\",display:\"flex\",flexShrink:0,height:\"32px\",justifyContent:\"center\",transition:\"all 0.5s ease-in-out\",zIndex:1,width:\"32px\",transform:isHovered?\"scale(25)\":\"scale(1)\"}})]})});}Button.defaultProps={text:\"My Title\",href:\"https://web.charityengine.net/donate2mtih\"};addPropertyControls(Button,{text:{title:\"Text\",type:ControlType.String},href:{title:\"href\",type:ControlType.Link}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Button_component.map"],"mappings":"iLAAyI,SAAwB,EAAO,EAAM,CAAyE,GAAK,CAAC,EAAU,GAAcA,EAAS,GAAM,CAAC,OAAoB,EAAK,IAAI,CAAC,KAAK,EAAM,KAAK,MAAM,CAAC,eAAe,OAAO,CAAC,SAAsB,EAAM,SAAS,CAAC,KAAK,SAAS,iBAAiB,EAAa,GAAK,CAAC,iBAAiB,EAAa,GAAM,CAAC,MAAM,CAAC,QAAQ,OAAO,WAAW,OAAO,OAAO,UAAU,WAAW,sBAAsB,SAAS,OAAO,QAAQ,oBAAoB,aAAa,OAAO,MAAM,OAAO,OAAO,oBAAoB,gBAAgB,UAAU,MAAM,EAAU,UAAU,OAAO,WAAW,uBAAuB,SAAS,SAAS,OAAO,IAAI,SAAS,WAAW,CAAC,SAAS,CAAc,EAAK,OAAO,CAAC,MAAM,CAAC,QAAQ,OAAO,WAAW,SAAS,WAAW,OAAO,MAAM,EAAU,UAAU,OAAO,WAAW,uBAAuB,WAAW,MAAM,OAAO,IAAI,CAAC,SAAS,EAAM,KAAK,CAAC,CAAc,EAAK,MAAM,CAAC,UAAU,cAAc,MAAM,CAAC,SAAS,WAAW,KAAK,OAAO,IAAI,KAAK,aAAa,OAAO,WAAW,SAAS,gBAAgB,cAAc,QAAQ,OAAO,WAAW,EAAE,OAAO,OAAO,eAAe,SAAS,OAAO,EAAE,CAAC,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