{"version":3,"file":"CustomSvgIcon.OBEMw5mo.mjs","names":[],"sources":["https:/framerusercontent.com/modules/DMI67gQhYAHHwf2cKJoY/YxbAOilzyFMCG9CPFRhU/CustomSvgIcon.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function CustomSVGIcon(props){const{svgContent,strokeColor,fillColor,strokeWidth,padding,size}=props;const containerStyle={padding:`${padding}px`,width:`${size}px`,height:`${size}px`,display:\"flex\",justifyContent:\"center\",alignItems:\"center\"};const svgStyle={width:\"100%\",height:\"100%\"};// Parse the SVG content\nconst parser=new DOMParser;const svgDoc=parser.parseFromString(svgContent,\"image/svg+xml\");const svgElement=svgDoc.documentElement;// Preserve the original viewBox\nconst viewBox=svgElement.getAttribute(\"viewBox\")||\"0 0 24 24\";// Apply styles to the SVG\nsvgElement.setAttribute(\"width\",\"100%\");svgElement.setAttribute(\"height\",\"100%\");svgElement.setAttribute(\"viewBox\",viewBox);svgElement.setAttribute(\"fill\",\"none\");svgElement.setAttribute(\"stroke\",strokeColor);svgElement.setAttribute(\"stroke-width\",strokeWidth.toString());// Apply styles to all child elements\nsvgElement.querySelectorAll(\"*\").forEach(el=>{if(el.tagName!==\"path\"){el.setAttribute(\"stroke\",strokeColor);el.setAttribute(\"stroke-width\",strokeWidth.toString());}});// Convert back to string\nconst modifiedSvgContent=new XMLSerializer().serializeToString(svgElement);return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:/*#__PURE__*/_jsx(\"div\",{style:svgStyle,dangerouslySetInnerHTML:{__html:modifiedSvgContent}})});}CustomSVGIcon.defaultProps={svgContent:'<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"lucide lucide-circle-plus\"><circle cx=\"12\" cy=\"12\" r=\"10\"/><path d=\"M8 12h8\"/><path d=\"M12 8v8\"/></svg>',strokeColor:\"#000000\",fillColor:\"none\",strokeWidth:2,padding:0,size:24};addPropertyControls(CustomSVGIcon,{svgContent:{type:ControlType.String,title:\"SVG Content\"},strokeColor:{type:ControlType.Color,title:\"Stroke Color\"},fillColor:{type:ControlType.Color,title:\"Fill Color\"},strokeWidth:{type:ControlType.Number,title:\"Stroke Width\",min:0,max:10,step:.5,defaultValue:2},padding:{type:ControlType.Number,title:\"Padding\",min:0,max:50,step:1},size:{type:ControlType.Number,title:\"Size\",min:1,max:500,step:1,defaultValue:24}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CustomSVGIcon\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CustomSvgIcon.map"],"mappings":"4JAA+F,SAAwB,EAAc,EAAM,CAAC,GAAK,CAAC,aAAW,cAAY,YAAU,cAAY,UAAQ,QAAM,EAAY,EAAe,CAAC,QAAQ,GAAG,EAAQ,IAAI,MAAM,GAAG,EAAK,IAAI,OAAO,GAAG,EAAK,IAAI,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,CAAO,EAAS,CAAC,MAAM,OAAO,OAAO,OAAO,CAC3S,EAApF,IAAI,WAAS,CAAqB,gBAAgB,EAAW,gBAAgB,CAAyB,gBAC7G,EAAQ,EAAW,aAAa,UAAU,EAAE,YAGyB,OAF3E,EAAW,aAAa,QAAQ,OAAO,CAAC,EAAW,aAAa,SAAS,OAAO,CAAC,EAAW,aAAa,UAAU,EAAQ,CAAC,EAAW,aAAa,OAAO,OAAO,CAAC,EAAW,aAAa,SAAS,EAAY,CAAC,EAAW,aAAa,eAAe,EAAY,UAAU,CAAC,CAC/Q,EAAW,iBAAiB,IAAI,CAAC,QAAQ,GAAI,CAAI,EAAG,UAAU,SAAQ,EAAG,aAAa,SAAS,EAAY,CAAC,EAAG,aAAa,eAAe,EAAY,UAAU,CA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