{"version":3,"file":"Topic_Chips.m66zVIO5.mjs","names":[],"sources":["https:/framerusercontent.com/modules/h3BF6HY0thIqjH6QKGtN/XAM6mxhtSSpLfnrcGXhL/Topic_Chips.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/#code-components-auto-sizing\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function TopicChips(props){// This is a React component containing an Example component\n// - Replace <Example /> with your own code\n// - Find inspiration: https://www.framer.com/developers/\nfunction turnToArray(topics){const array=topics.split(\", \");return array;}return /*#__PURE__*/_jsx(\"div\",{style:chipsContainer,children:turnToArray(props.text).map((topic,i)=>/*#__PURE__*/_jsx(\"p\",{style:chipStyle,children:topic},i))});}TopicChips.defaultProps={text:\"Thema, Thema, Thema\"};addPropertyControls(TopicChips,{text:{type:ControlType.String,title:\"T\\xe4tigkeitsbereiche\"},font:{type:\"font\"}});// Styles are written in object syntax\n// Learn more: https://reactjs.org/docs/dom-elements.html#style\nconst chipsContainer={width:\"100%\",display:\"flex\",gap:\"15px 20px\",justifyContent:\"center\",flexWrap:\"wrap\"};const chipStyle={fontSize:\"14px\",lineHeight:\"20px\",padding:\"4px 15px\",borderRadius:\"30px\",border:\"1px solid #2268E9\",color:\"#2268E9\",margin:\"0\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TopicChips\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Topic_Chips.map"],"mappings":"iOAQG,SAAwB,EAAW,EAAM,CAG5C,SAAS,EAAY,EAAO,CAAgC,OAAnB,EAAO,MAAM,KAAK,CAAe,OAAoB,EAAK,MAAM,CAAC,MAAM,EAAe,SAAS,EAAY,EAAM,KAAK,CAAC,KAAK,EAAM,IAAiB,EAAK,IAAI,CAAC,MAAM,EAAU,SAAS,EAAM,CAAC,EAAE,CAAC,CAAC,CAAC,sBAThM,IAAoD,CAS8I,EAAW,aAAa,CAAC,KAAK,sBAAsB,CAAC,EAAoB,EAAW,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,qBAAwB,CAAC,KAAK,CAAC,KAAK,OAAO,CAAC,CAAC,CAE7Y,EAAe,CAAC,MAAM,OAAO,QAAQ,OAAO,IAAI,YAAY,eAAe,SAAS,SAAS,OAAO,CAAO,EAAU,CAAC,SAAS,OAAO,WAAW,OAAO,QAAQ,WAAW,aAAa,OAAO,OAAO,oBAAoB,MAAM,UAAU,OAAO,IAAI"}