UNPKG

@exponent/ex-navigation

Version:

Route-centric navigation library for React Native.

13 lines (10 loc) 345 B
import { PropTypes } from 'react'; export const NavigationPropType = PropTypes.shape({ getNavigator: PropTypes.func.isRequired, }); export const StackNavigatorContextType = PropTypes.shape({ push: PropTypes.func.isRequired, pop: PropTypes.func.isRequired, popToTop: PropTypes.func.isRequired, replace: PropTypes.func.isRequired, });