{"version":3,"file":"Text_Component.BA4Sinqs.mjs","names":[],"sources":["https:/framerusercontent.com/modules/bDslkUvas5SpTsWf0S98/9oBLADMfGSlXN5Q1QC4X/Text_Component.js"],"sourcesContent":["// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * These annotations control how your component sizes\n * Learn more: https://www.framer.com/developers/components/auto-sizing\n *\n * @framerSupportedLayoutWidth any-prefer-fix\n * @framerSupportedLayoutHeight any-prefer-fix\n */export default function Text_Component(props){// This is a React component containing an Example component\n// Replace <Example /> with your own code\nconst{customId,text,font,fontSize,color,textAlign}=props;const parsedFontFamily=props?.font?.fontFamily?font.fontFamily.replace(/['\"]+/g,\"\"):\"Inter\";return /*#__PURE__*/_jsx(\"p\",{id:customId,style:{fontFamily:parsedFontFamily,fontWeight:font.fontWeight,color,fontSize:`${fontSize}px`,margin:0,textAlign},children:text});}addPropertyControls(Text_Component,{customId:{type:ControlType.String,title:\"ID\",description:\"Please do not change ID value!\"},text:{type:ControlType.String,title:\"Text\",defaultValue:\"$0\"},font:{type:ControlType.Font,title:\"Font\",defaultValue:{family:\"Inter\",weight:400,size:16}},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:16,min:8,max:100},textAlign:{type:ControlType.Enum,title:\"Text Align\",options:[\"left\",\"center\",\"right\"],optionTitles:[\"Left\",\"Center\",\"Right\"],defaultValue:\"left\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#ff0000\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Text_Component\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any-prefer-fix\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any-prefer-fix\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Text_Component.map"],"mappings":"4JAQG,SAAwB,EAAe,EAAM,CAEhD,GAAK,CAAC,WAAS,OAAK,OAAK,WAAS,QAAM,aAAW,EAAkG,OAAoB,EAAK,IAAI,CAAC,GAAG,EAAS,MAAM,CAAC,WAAtH,GAAO,MAAM,WAAW,EAAK,WAAW,QAAQ,SAAS,GAAG,CAAC,QAAqF,WAAW,EAAK,WAAW,QAAM,SAAS,GAAG,EAAS,IAAI,OAAO,EAAE,YAAU,CAAC,SAAS,EAAK,CAAC,kBARpR,IAAoD,CAQkO,EAAoB,EAAe,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,KAAK,YAAY,iCAAiC,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,OAAO,aAAa,KAAK,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,aAAa,CAAC,OAAO,QAAQ,OAAO,IAAI,KAAK,GAAG,CAAC,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,GAAG,IAAI,EAAE,IAAI,IAAI,CAAC,UAAU,CAAC,KAAK,EAAY,KAAK,MAAM,aAAa,QAAQ,CAAC,OAAO,SAAS,QAAQ,CAAC,aAAa,CAAC,OAAO,SAAS,QAAQ,CAAC,aAAa,OAAO,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,UAAU,CAAC,CAAC"}