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.3 KiB

{"ast":null,"code":"import View from \"react-native-web/dist/exports/View\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport { FAVORITE_CITY_DATA } from \"../data/stub\";\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\nimport { TopBar } from \"../components/TopBar\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport default function Home() {\n var insets = useSafeAreaInsets();\n var statusBarHeight = insets.top;\n var favoriteCity = FAVORITE_CITY_DATA;\n return _jsx(View, {\n style: {\n alignItems: \"center\",\n marginTop: statusBarHeight\n },\n children: _jsx(TopBar, {})\n });\n}\nvar leStyle = StyleSheet.create({\n container: {\n alignItems: 'center'\n }\n});","map":{"version":3,"names":["FAVORITE_CITY_DATA","useSafeAreaInsets","TopBar","Home","insets","statusBarHeight","top","favoriteCity","alignItems","marginTop","leStyle","StyleSheet","create","container"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/screens/Home.tsx"],"sourcesContent":["import { View, Text, StyleSheet } from \"react-native\"\nimport { FlatList } from \"react-native-gesture-handler\"\nimport { CITIES_DATA, City, FAVORITE_CITY_DATA } 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 Home(){\n const insets = useSafeAreaInsets();\n const statusBarHeight = insets.top;\n const favoriteCity = FAVORITE_CITY_DATA;\n\n return (\n <View style={{alignItems: \"center\", marginTop: statusBarHeight}}>\n <TopBar/>\n </View>\n )\n}\n\n\nconst leStyle = StyleSheet.create({\n container: {\n alignItems: 'center',\n },\n});"],"mappings":";;AAEA,SAA4BA,kBAAkB;AAC9C,SAASC,iBAAiB,QAAQ,gCAAgC;AAElE,SAASC,MAAM;AAA+B;AAG9C,eAAe,SAASC,IAAI,GAAE;EAC1B,IAAMC,MAAM,GAAGH,iBAAiB,EAAE;EAClC,IAAMI,eAAe,GAAGD,MAAM,CAACE,GAAG;EAClC,IAAMC,YAAY,GAAGP,kBAAkB;EAEvC,OACI,KAAC,IAAI;IAAC,KAAK,EAAE;MAACQ,UAAU,EAAE,QAAQ;MAAEC,SAAS,EAAEJ;IAAe,CAAE;IAAA,UAC5D,KAAC,MAAM;EAAE,EACN;AAEf;AAGA,IAAMK,OAAO,GAAGC,UAAU,CAACC,MAAM,CAAC;EAC9BC,SAAS,EAAE;IACPL,UAAU,EAAE;EAChB;AACJ,CAAC,CAAC"},"metadata":{},"sourceType":"module"}