Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Export NavigationContext and ScrollView in flow types (#6152)
These two types are missing entirely from the flow definition, while they're incomplete they at least prevent flow from complaining that they're not defined at all. I decided against copying the `ScrollView` types from `react-native` as they're really quite complex and likely to fall out-of-sync with the implementation in `react-native`. So instead I'd recommend overriding the types when consuming using something like: ```js import {ScrollView as NativeScrollView} from 'react-native'; import {ScrollView as NavigationScrollView} from 'react-navigation'; const ScrollView: React.ComponentType<typeof NativeScrollView>) = NavigationScrollView; ```
- Loading branch information