{"version":3,"file":"SvgIcon.CPONaVGC.mjs","names":[],"sources":["https:/framerusercontent.com/modules/DrP9OnqlBAMP4bnByG1y/NskLoju5xNwND3cUkXHv/SvgIcon.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export function svgIcon(props){const{svgCode,color}=props;// Dynamically replace fill color and stroke color\nconst processedSVGCode=svgCode.replace(/fill=\"[^\"]*\"/g,`fill=\"${color}\"`).replace(/stroke=\"[^\"]*\"/g,`stroke=\"${color}\"`);return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",overflow:\"visible\"},children:/*#__PURE__*/_jsx(\"svg\",{width:\"100%\",height:\"100%\",viewBox:\"0 0 100 100\",preserveAspectRatio:\"xMidYMid meet\",dangerouslySetInnerHTML:{__html:processedSVGCode},style:{width:\"auto\",height:\"100%\",maxWidth:\"100%\",maxHeight:\"100%\"}})});}svgIcon.defaultProps={svgCode:'<svg viewBox=\"0 0 100 100\" width=\"100%\" height=\"100%\"><circle cx=\"50\" cy=\"50\" r=\"40\" /></svg>',color:\"#FF0000\"};svgIcon.displayName=\"SVG Icon\";addPropertyControls(svgIcon,{svgCode:{title:\"SVG Code\",type:ControlType.String,defaultValue:svgIcon.defaultProps.svgCode},color:{title:\"Color\",type:ControlType.Color,defaultValue:svgIcon.defaultProps.color}});\nexport const __FramerMetadata__ = {\"exports\":{\"svgIcon\":{\"type\":\"reactComponent\",\"name\":\"svgIcon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SvgIcon.map"],"mappings":"6JAA+F,SAAgB,EAAQ,EAAM,CAAC,GAAK,CAAC,UAAQ,SAAO,EAC1B,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,SAAS,UAAU,CAAC,SAAsB,EAAK,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,QAAQ,cAAc,oBAAoB,gBAAgB,wBAAwB,CAAC,OAAnY,EAAQ,QAAQ,gBAAgB,SAAS,EAAM,GAAG,CAAC,QAAQ,kBAAkB,WAAW,EAAM,GAAG,CAA0T,CAAC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,SAAS,OAAO,UAAU,OAAO,CAAC,CAAC,CAAC,CAAC,kBAD/c,IAAoD,CAC6Z,EAAQ,aAAa,CAAC,QAAQ,gGAAgG,MAAM,UAAU,CAAC,EAAQ,YAAY,WAAW,EAAoB,EAAQ,CAAC,QAAQ,CAAC,MAAM,WAAW,KAAK,EAAY,OAAO,aAAa,EAAQ,aAAa,QAAQ,CAAC,MAAM,CAAC,MAAM,QAAQ,KAAK,EAAY,MAAM,aAAa,EAAQ,aAAa,MAAM,CAAC,CAAC"}