react-native/Examples/UIExplorer/NavigationExperimental
Kyle Corbitt 2d921eeb70 Resolve react flow definitions
Summary:Currently, we're not taking advantage of Flow's built-in type definitions for the React library in all cases because Flow's definition uses `declare module react` and this file uses `import('React')`, which Flow thinks is a different library. After this change, the following starts working which didn't before:

```js
import { Component } from 'react-native';

class MyText extends Component<void, {text: string}, void> {
  render() { return <Text>{this.props.text}</Text> }
}

// Correctly throws a Flow error for the missing "text" prop
const renderedText = <MyText />;
```
Closes https://github.com/facebook/react-native/pull/5489

Differential Revision: D2856176

fb-gh-sync-id: 473ca188ad7d990c3e765526c4b33caf49ad9ffd
shipit-source-id: 473ca188ad7d990c3e765526c4b33caf49ad9ffd
2016-02-25 02:45:34 -08:00
..
NavigationAnimatedExample.js NavigationAnimatedView configurable navigation timing 2016-02-22 16:17:18 -08:00
NavigationBasicExample.js Add sub-reducer support to NavigationStackReducer 2016-02-22 16:17:12 -08:00
NavigationCardStackExample.js Introducing NavigationCardStack 2016-02-24 18:51:30 -08:00
NavigationCompositionExample.js Resolve react flow definitions 2016-02-25 02:45:34 -08:00
NavigationExampleRow.js NavigationExperimental 2016-02-05 14:26:35 -08:00
NavigationExampleTabBar.js NavigationExperimental 2016-02-05 14:26:35 -08:00
NavigationExperimentalExample.js Introducing NavigationCardStack 2016-02-24 18:51:30 -08:00
NavigationTabsExample.js Navigation Back support and examples for Android 2016-02-08 20:03:31 -08:00
NavigationTicTacToeExample.js Resolve react flow definitions 2016-02-25 02:45:34 -08:00