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
3.2 KiB

{"ast":null,"code":"import * as React from 'react';\nimport StyleSheet from \"../StyleSheet\";\nimport View from \"../View\";\nvar RootTagContext = React.createContext(null);\nexport default function AppContainer(props) {\n var children = props.children,\n WrapperComponent = props.WrapperComponent;\n var innerView = React.createElement(View, {\n children: children,\n key: 1,\n pointerEvents: \"box-none\",\n style: styles.appContainer\n });\n if (WrapperComponent) {\n innerView = React.createElement(WrapperComponent, null, innerView);\n }\n return React.createElement(RootTagContext.Provider, {\n value: props.rootTag\n }, React.createElement(View, {\n pointerEvents: \"box-none\",\n style: styles.appContainer\n }, innerView));\n}\nvar styles = StyleSheet.create({\n appContainer: {\n flex: 1\n }\n});","map":{"version":3,"names":["React","StyleSheet","View","RootTagContext","createContext","AppContainer","props","children","WrapperComponent","innerView","createElement","key","pointerEvents","style","styles","appContainer","Provider","value","rootTag","create","flex"],"sources":["/Users/thomaschazot/Documents/But2A/LaSuperMeteo/iut-expo-starter/node_modules/react-native-web/dist/exports/AppRegistry/AppContainer.js"],"sourcesContent":["/**\n * Copyright (c) Nicolas Gallagher.\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * \n */\nimport * as React from 'react';\nimport StyleSheet from '../StyleSheet';\nimport View from '../View';\nvar RootTagContext = /*#__PURE__*/React.createContext(null);\nexport default function AppContainer(props) {\n var children = props.children,\n WrapperComponent = props.WrapperComponent;\n var innerView = /*#__PURE__*/React.createElement(View, {\n children: children,\n key: 1,\n pointerEvents: \"box-none\",\n style: styles.appContainer\n });\n\n if (WrapperComponent) {\n innerView = /*#__PURE__*/React.createElement(WrapperComponent, null, innerView);\n }\n\n return /*#__PURE__*/React.createElement(RootTagContext.Provider, {\n value: props.rootTag\n }, /*#__PURE__*/React.createElement(View, {\n pointerEvents: \"box-none\",\n style: styles.appContainer\n }, innerView));\n}\nvar styles = StyleSheet.create({\n appContainer: {\n flex: 1\n }\n});"],"mappings":"AASA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,OAAOC,UAAU;AACjB,OAAOC,IAAI;AACX,IAAIC,cAAc,GAAgBH,KAAK,CAACI,aAAa,CAAC,IAAI,CAAC;AAC3D,eAAe,SAASC,YAAY,CAACC,KAAK,EAAE;EAC1C,IAAIC,QAAQ,GAAGD,KAAK,CAACC,QAAQ;IACzBC,gBAAgB,GAAGF,KAAK,CAACE,gBAAgB;EAC7C,IAAIC,SAAS,GAAgBT,KAAK,CAACU,aAAa,CAACR,IAAI,EAAE;IACrDK,QAAQ,EAAEA,QAAQ;IAClBI,GAAG,EAAE,CAAC;IACNC,aAAa,EAAE,UAAU;IACzBC,KAAK,EAAEC,MAAM,CAACC;EAChB,CAAC,CAAC;EAEF,IAAIP,gBAAgB,EAAE;IACpBC,SAAS,GAAgBT,KAAK,CAACU,aAAa,CAACF,gBAAgB,EAAE,IAAI,EAAEC,SAAS,CAAC;EACjF;EAEA,OAAoBT,KAAK,CAACU,aAAa,CAACP,cAAc,CAACa,QAAQ,EAAE;IAC/DC,KAAK,EAAEX,KAAK,CAACY;EACf,CAAC,EAAelB,KAAK,CAACU,aAAa,CAACR,IAAI,EAAE;IACxCU,aAAa,EAAE,UAAU;IACzBC,KAAK,EAAEC,MAAM,CAACC;EAChB,CAAC,EAAEN,SAAS,CAAC,CAAC;AAChB;AACA,IAAIK,MAAM,GAAGb,UAAU,CAACkB,MAAM,CAAC;EAC7BJ,YAAY,EAAE;IACZK,IAAI,EAAE;EACR;AACF,CAAC,CAAC"},"metadata":{},"sourceType":"module"}