repoweaver
Version:
A GitHub App that skillfully weaves multiple templates together to create and update repositories with intelligent merge strategies
1 lines • 2.56 kB
JSON
{"ast":null,"code":"\"use strict\";\n\nimport * as React from 'react';\nimport { NavigationContext } from \"./NavigationContext.js\";\nimport { NavigationIndependentTreeContext } from \"./NavigationIndependentTreeContext.js\";\nimport { NavigationRouteContext } from \"./NavigationRouteContext.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function NavigationIndependentTree(_ref) {\n var children = _ref.children;\n return (_jsx(NavigationRouteContext.Provider, {\n value: undefined,\n children: _jsx(NavigationContext.Provider, {\n value: undefined,\n children: _jsx(NavigationIndependentTreeContext.Provider, {\n value: true,\n children: children\n })\n })\n })\n );\n}","map":{"version":3,"names":["React","NavigationContext","NavigationIndependentTreeContext","NavigationRouteContext","jsx","_jsx","NavigationIndependentTree","_ref","children","Provider","value","undefined"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/core/src/NavigationIndependentTree.tsx"],"sourcesContent":["import * as React from 'react';\n\nimport { NavigationContext } from './NavigationContext';\nimport { NavigationIndependentTreeContext } from './NavigationIndependentTreeContext';\nimport { NavigationRouteContext } from './NavigationRouteContext';\n\n/**\n * Component to make the child navigation container independent of parent containers.\n */\nexport function NavigationIndependentTree({\n children,\n}: {\n children: React.ReactNode;\n}) {\n return (\n // We need to clear any existing contexts for nested independent container to work correctly\n <NavigationRouteContext.Provider value={undefined}>\n <NavigationContext.Provider value={undefined}>\n <NavigationIndependentTreeContext.Provider value>\n {children}\n </NavigationIndependentTreeContext.Provider>\n </NavigationContext.Provider>\n </NavigationRouteContext.Provider>\n );\n}\n"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAE9B,SAASC,iBAAiB;AAC1B,SAASC,gCAAgC;AACzC,SAASC,sBAAsB;AAE/B,SAAAC,GAAA,IAAAC,IAAA;AAGA,OAAO,SAASC,yBAAyBA,CAAAC,IAAA,EAItC;EAAA,IAHDC,QAAA,GAAAD,IAAA,CAAAC,QAAA;EAIA,QAEEH,IAAA,CAACF,sBAAsB,CAACM,QAAQ;MAACC,KAAK,EAAEC,SAAU;MAAAH,QAAA,EAChDH,IAAA,CAACJ,iBAAiB,CAACQ,QAAQ;QAACC,KAAK,EAAEC,SAAU;QAAAH,QAAA,EAC3CH,IAAA,CAACH,gCAAgC,CAACO,QAAQ;UAACC,KAAK;UAAAF,QAAA,EAC7CA;QAAQ,CACgC;MAAC,CAClB;IAAC,CACE;EAAA;AAErC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}