{"ast":null,"code":"import React from \"react\";\nimport View from \"react-native-web/dist/exports/View\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport function VilleCompopo(props) {\n return _jsxs(View, {\n children: [_jsx(View, {\n style: styles.container,\n children: _jsxs(View, {\n style: styles.bothtext,\n children: [_jsx(Text, {\n style: styles.title,\n children: props.city.name\n }), _jsxs(Text, {\n children: [props.city.latitude, \" - \", props.city.longitude]\n })]\n })\n }), _jsx(View, {\n style: styles.separator\n })]\n });\n}\nvar styles = StyleSheet.create({\n container: {\n flex: 1,\n flexDirection: \"row\",\n marginHorizontal: \"5%\",\n backgroundColor: \"darksalmon\",\n margin: 5,\n borderRadius: 15,\n width: \"90%\"\n },\n separator: {\n marginVertical: 4,\n backgroundColor: \"rgba(255,255,255,0.3)\",\n height: 1,\n width: '90%'\n },\n teaserImage: {\n width: 50,\n height: 50\n },\n title: {\n fontWeight: \"bold\",\n fontSize: 18\n },\n bothtext: {\n width: \"80%\",\n margin: 10\n }\n});","map":{"version":3,"names":["React","VilleCompopo","props","styles","container","bothtext","title","city","name","latitude","longitude","separator","StyleSheet","create","flex","flexDirection","marginHorizontal","backgroundColor","margin","borderRadius","width","marginVertical","height","teaserImage","fontWeight","fontSize"],"sources":["/Users/mathildejean/Documents/BUT/LaSuperMeteo/LaSuperMeteo/iut-expo-starter/components/VilleCompopo.tsx"],"sourcesContent":["import React from \"react\";\nimport { View, StyleSheet, Text } from \"react-native\";\nimport { City } from \"../data/stub\";\n\n\ntype VilleProps = {\n city: City\n}\n\nexport function VilleCompopo(props: VilleProps){\n return (\n \n \n \n {props.city.name}\n {props.city.latitude} - {props.city.longitude}\n \n \n \n \n );\n}\n\nconst styles = StyleSheet.create({\n container: {\n flex: 1,\n flexDirection: \"row\",\n marginHorizontal: \"5%\",\n backgroundColor: \"darksalmon\",\n margin: 5,\n borderRadius: 15,\n width: \"90%\"\n },\n separator: {\n marginVertical: 4,\n backgroundColor: \"rgba(255,255,255,0.3)\",\n height: 1,\n width: '90%',\n },\n teaserImage: {\n width: 50,\n height: 50,\n },\n title: {\n fontWeight: \"bold\",\n fontSize: 18\n },\n bothtext: {\n width: \"80%\",\n margin: 10\n }\n});"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAAC;AAAA;AAAA;AAAA;AAAA;AAS1B,OAAO,SAASC,YAAY,CAACC,KAAiB,EAAC;EAC3C,OACA,MAAC,IAAI;IAAA,WACH,KAAC,IAAI;MAAC,KAAK,EAAEC,MAAM,CAACC,SAAU;MAAA,UAC5B,MAAC,IAAI;QAAC,KAAK,EAAED,MAAM,CAACE,QAAS;QAAA,WAC3B,KAAC,IAAI;UAAC,KAAK,EAAEF,MAAM,CAACG,KAAM;UAAA,UAAEJ,KAAK,CAACK,IAAI,CAACC;QAAI,EAAQ,EACnD,MAAC,IAAI;UAAA,WAAEN,KAAK,CAACK,IAAI,CAACE,QAAQ,EAAC,KAAG,EAACP,KAAK,CAACK,IAAI,CAACG,SAAS;QAAA,EAAQ;MAAA;IACtD,EACF,EACP,KAAC,IAAI;MAAC,KAAK,EAAEP,MAAM,CAACQ;IAAU,EAAE;EAAA,EAC3B;AAEX;AAEA,IAAMR,MAAM,GAAGS,UAAU,CAACC,MAAM,CAAC;EAC/BT,SAAS,EAAE;IACTU,IAAI,EAAE,CAAC;IACPC,aAAa,EAAE,KAAK;IACpBC,gBAAgB,EAAE,IAAI;IACtBC,eAAe,EAAE,YAAY;IAC7BC,MAAM,EAAE,CAAC;IACTC,YAAY,EAAE,EAAE;IAChBC,KAAK,EAAE;EACT,CAAC;EACDT,SAAS,EAAE;IACTU,cAAc,EAAE,CAAC;IACjBJ,eAAe,EAAE,uBAAuB;IACxCK,MAAM,EAAE,CAAC;IACTF,KAAK,EAAE;EACT,CAAC;EACDG,WAAW,EAAE;IACXH,KAAK,EAAE,EAAE;IACTE,MAAM,EAAE;EACV,CAAC;EACDhB,KAAK,EAAE;IACLkB,UAAU,EAAE,MAAM;IAClBC,QAAQ,EAAE;EACZ,CAAC;EACDpB,QAAQ,EAAE;IACRe,KAAK,EAAE,KAAK;IACZF,MAAM,EAAE;EACV;AACF,CAAC,CAAC"},"metadata":{},"sourceType":"module","externalDependencies":[]}