You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
2.5 KiB
1 line
2.5 KiB
{"ast":null,"code":"import _objectDestructuringEmpty from \"@babel/runtime/helpers/objectDestructuringEmpty\";\nimport View from \"react-native-web/dist/exports/View\";\nimport Text from \"react-native-web/dist/exports/Text\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function CityList(_ref) {\n _objectDestructuringEmpty(_ref);\n var insets = useSafeAreaInsets();\n var statusBarHeight = insets.top;\n console.log(\"toto\");\n return _jsx(View, {\n style: {\n alignItems: \"center\",\n marginTop: statusBarHeight,\n backgroundColor: \"red\"\n },\n children: _jsx(Text, {\n children: \"Toto\"\n })\n });\n}\nvar leStyle = StyleSheet.create({\n container: {\n alignItems: 'center'\n }\n});","map":{"version":3,"names":["useSafeAreaInsets","CityList","insets","statusBarHeight","top","console","log","alignItems","marginTop","backgroundColor","leStyle","StyleSheet","create","container"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/screens/CityList.tsx"],"sourcesContent":["import { View, Text, StyleSheet, TouchableHighlight } from \"react-native\"\nimport { FlatList } from \"react-native-gesture-handler\"\nimport { CITIES_DATA, City } from \"../data/stub\"\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\nimport { VilleCompopo } from \"../components/VilleCompopo\";\nimport { TopBar } from \"../components/TopBar\";\n\n\nexport default function CityList({}){\n const insets = useSafeAreaInsets();\n const statusBarHeight = insets.top;\n\n console.log(\"toto\")\n\n return (\n <View style={{alignItems: \"center\", marginTop: statusBarHeight, backgroundColor: \"red\"}}>\n \n\n <Text>Toto</Text>\n </View>\n )\n}\n\n\nconst leStyle = StyleSheet.create({\n container: {\n alignItems: 'center',\n },\n});"],"mappings":";;;;AAGA,SAASA,iBAAiB,QAAQ,gCAAgC;AAAC;AAKnE,eAAe,SAASC,QAAQ,OAAI;EAAA;EAChC,IAAMC,MAAM,GAAGF,iBAAiB,EAAE;EAClC,IAAMG,eAAe,GAAGD,MAAM,CAACE,GAAG;EAElCC,OAAO,CAACC,GAAG,CAAC,MAAM,CAAC;EAEnB,OACI,KAAC,IAAI;IAAC,KAAK,EAAE;MAACC,UAAU,EAAE,QAAQ;MAAEC,SAAS,EAAEL,eAAe;MAAEM,eAAe,EAAE;IAAK,CAAE;IAAA,UAGpF,KAAC,IAAI;MAAA,UAAC;IAAI;EAAO,EACd;AAEf;AAGA,IAAMC,OAAO,GAAGC,UAAU,CAACC,MAAM,CAAC;EAC9BC,SAAS,EAAE;IACPN,UAAU,EAAE;EAChB;AACJ,CAAC,CAAC"},"metadata":{},"sourceType":"module"} |