{
  "version": 3,
  "sources": ["ssg: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": "yDAA8G,SAARA,EAA+BC,EAAM,CAAC,GAAK,CAAC,WAAAC,EAAW,YAAAC,EAAY,UAAAC,EAAU,YAAAC,EAAY,QAAAC,EAAQ,KAAAC,CAAI,EAAEN,EAAYO,EAAe,CAAC,QAAQ,GAAGF,CAAO,KAAK,MAAM,GAAGC,CAAI,KAAK,OAAO,GAAGA,CAAI,KAAK,QAAQ,OAAO,eAAe,SAAS,WAAW,QAAQ,EAAQE,EAAS,CAAC,MAAM,OAAO,OAAO,MAAM,EAC1SC,EAApF,IAAI,YAA8B,gBAAgBR,EAAW,eAAe,EAA0B,gBAC7GS,EAAQD,EAAW,aAAa,SAAS,GAAG,YAClDA,EAAW,aAAa,QAAQ,MAAM,EAAEA,EAAW,aAAa,SAAS,MAAM,EAAEA,EAAW,aAAa,UAAUC,CAAO,EAAED,EAAW,aAAa,OAAO,MAAM,EAAEA,EAAW,aAAa,SAASP,CAAW,EAAEO,EAAW,aAAa,eAAeL,EAAY,SAAS,CAAC,EAC9QK,EAAW,iBAAiB,GAAG,EAAE,QAAQE,GAAI,CAAIA,EAAG,UAAU,SAAQA,EAAG,aAAa,SAAST,CAAW,EAAES,EAAG,aAAa,eAAeP,EAAY,SAAS,CAAC,EAAG,CAAC,EACrK,IAAMQ,EAAmB,IAAI,cAAc,EAAE,kBAAkBH,CAAU,EAAE,OAAoBI,EAAK,MAAM,CAAC,MAAMN,EAAe,SAAsBM,EAAK,MAAM,CAAC,MAAML,EAAS,wBAAwB,CAAC,OAAOI,CAAkB,CAAC,CAAC,CAAC,CAAC,CAAE,CAACb,EAAc,aAAa,CAAC,WAAW,sSAAsS,YAAY,UAAU,UAAU,OAAO,YAAY,EAAE,QAAQ,EAAE,KAAK,EAAE,EAAEe,EAAoBf,EAAc,CAAC,WAAW,CAAC,KAAKgB,EAAY,OAAO,MAAM,aAAa,EAAE,YAAY,CAAC,KAAKA,EAAY,MAAM,MAAM,cAAc,EAAE,UAAU,CAAC,KAAKA,EAAY,MAAM,MAAM,YAAY,EAAE,YAAY,CAAC,KAAKA,EAAY,OAAO,MAAM,eAAe,IAAI,EAAE,IAAI,GAAG,KAAK,GAAG,aAAa,CAAC,EAAE,QAAQ,CAAC,KAAKA,EAAY,OAAO,MAAM,UAAU,IAAI,EAAE,IAAI,GAAG,KAAK,CAAC,EAAE,KAAK,CAAC,KAAKA,EAAY,OAAO,MAAM,OAAO,IAAI,EAAE,IAAI,IAAI,KAAK,EAAE,aAAa,EAAE,CAAC,CAAC",
  "names": ["CustomSVGIcon", "props", "svgContent", "strokeColor", "fillColor", "strokeWidth", "padding", "size", "containerStyle", "svgStyle", "svgElement", "viewBox", "el", "modifiedSvgContent", "p", "addPropertyControls", "ControlType"]
}
