{"version":3,"file":"QuoteText.CSOnjIB7.mjs","names":[],"sources":["https:/framerusercontent.com/modules/N1YrpJNTBNDlOqELw4AC/bYAtRfi6iSivy7EQo8Mm/QuoteText.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function QuoteText({text,fontSize,color,boldColor,font}){const renderText=input=>{const parts=input.split(/(\\*\\*.*?\\*\\*)/g);return parts.map((part,i)=>{if(part.startsWith(\"**\")&&part.endsWith(\"**\")){return /*#__PURE__*/_jsx(\"span\",{style:{color:boldColor},children:part.slice(2,-2)},i);}return /*#__PURE__*/_jsx(\"span\",{children:part},i);});};return /*#__PURE__*/_jsx(\"p\",{style:{...font,color:color,margin:0,lineHeight:1.333333},children:renderText(text)});}QuoteText.defaultProps={text:\"This is **green bold** text in a sentence\",fontSize:16,color:\"#000000\",boldColor:\"#22C55E\"};addPropertyControls(QuoteText,{text:{type:ControlType.String,title:\"Text\",displayTextArea:true},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\"},color:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},boldColor:{type:ControlType.Color,title:\"Bold Color\",defaultValue:\"#22C55E\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"QuoteText\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./QuoteText.map"],"mappings":"4JAA+F,SAAwB,EAAU,CAAC,OAAK,WAAS,QAAM,YAAU,QAAM,CAAC,IAAM,EAAW,GAAoB,EAAM,MAAM,gBAA6B,CAAC,CAAC,KAAK,EAAK,IAAQ,EAAK,WAAW,IAAI,GAAG,EAAK,SAAS,IAAI,EAAuB,EAAK,OAAO,CAAC,MAAM,CAAC,MAAM,CAAS,EAAE,SAAS,EAAK,MAAM,EAAE,EAAE,CAAC,EAAE,CAAC,EAAuB,EAAK,OAAO,CAAC,SAAS,CAAI,EAAE,CAAC,CAAG,EAAI,OAAoB,EAAK,IAAI,CAAC,MAAM,CAAC,GAAG,EAAW,QAAM,OAAO,EAAE,WAAW,QAAQ,EAAE,SAAS,EAAW,CAAI,CAAC,CAAC,CAAE,iBAA9gB,IAAoD,EAA2d,EAAU,aAAa,CAAC,KAAK,4CAA4C,SAAS,GAAG,MAAM,UAAU,UAAU,SAAS,EAAE,EAAoB,EAAU,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,gBAAgB,EAAI,EAAE,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,SAAS,UAAU,EAAE,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,SAAS,EAAE,UAAU,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,SAAS,CAAC,CAAC"}