{"ast":null,"code":"import React from \"react\";\nimport View from \"react-native-web/dist/exports/View\";\nimport { useSafeAreaInsets } from \"react-native-safe-area-context\";\nimport { Details } from \"../components/Details\";\nimport { TopBar } from \"../components/TopBar\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nexport default function CityDetails(_ref) {\n var route = _ref.route;\n var insets = useSafeAreaInsets();\n var statusBarHeight = insets.top;\n var weather = route.params.weather;\n return _jsxs(View, {\n children: [_jsx(TopBar, {}), _jsx(Details, {\n weather: weather\n })]\n });\n}","map":{"version":3,"names":["React","useSafeAreaInsets","Details","TopBar","CityDetails","route","insets","statusBarHeight","top","weather","params"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/screens/CityDetails.tsx"],"sourcesContent":["import React from \"react\";\nimport { View} from \"react-native\";\nimport { useSafeAreaInsets } from \"react-native-safe-area-context\";\nimport { Details } from \"../components/Details\";\nimport { TopBar } from \"../components/TopBar\";\nimport { City, Weather } from \"../data/stub\";\n\nexport default function CityDetails({route}){\n const insets = useSafeAreaInsets();\n const statusBarHeight = insets.top;\n\n const weather: Weather =route.params.weather;\n\n return (\n \n \n
\n \n )\n}\n\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAAC;AAE1B,SAASC,iBAAiB,QAAQ,gCAAgC;AAClE,SAASC,OAAO;AAChB,SAASC,MAAM;AAA+B;AAAA;AAG9C,eAAe,SAASC,WAAW,OAAS;EAAA,IAAPC,KAAK,QAALA,KAAK;EACtC,IAAMC,MAAM,GAAGL,iBAAiB,EAAE;EAClC,IAAMM,eAAe,GAAGD,MAAM,CAACE,GAAG;EAElC,IAAMC,OAAgB,GAAEJ,KAAK,CAACK,MAAM,CAACD,OAAO;EAE5C,OACI,MAAC,IAAI;IAAA,WACD,KAAC,MAAM,KAAE,EACT,KAAC,OAAO;MAAC,OAAO,EAAEA;IAAQ,EAAE;EAAA,EACzB;AAEf"},"metadata":{},"sourceType":"module"}