UNPKG

@exponent/ex-navigation

Version:

Route-centric navigation libary for React Native.

12 lines (9 loc) 306 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, replace: PropTypes.func.isRequired, });