UNPKG

731 BSource Map (JSON)View Raw
1{"version":3,"sources":["NavigationHelpersContext.tsx"],"names":["NavigationHelpersContext","React","createContext","undefined"],"mappings":";;;;;;;AACA;;;;;;AAIA;AACA;AACA;AACA;AACA,MAAMA,wBAAwB,gBAAGC,KAAK,CAACC,aAAN,CAE/BC,SAF+B,CAAjC;eAIeH,wB","sourcesContent":["import type { ParamListBase } from '@react-navigation/routers';\nimport * as React from 'react';\n\nimport type { NavigationHelpers } from './types';\n\n/**\n * Context which holds the navigation helpers of the parent navigator.\n * Navigators should use this context in their view component.\n */\nconst NavigationHelpersContext = React.createContext<\n NavigationHelpers<ParamListBase> | undefined\n>(undefined);\n\nexport default NavigationHelpersContext;\n"]}
\No newline at end of file