react-native/Libraries/Components/View
ashoat 833b27483b Fix Flow errors at declaration of most major library components
Summary:
The relevant changes in the PR are to Libraries/StyleSheet/EdgeInsetsPropType.js; the rest are just removals of FlowIgnores.

The definition of the relevant types is [here](https://github.com/facebook/flow/blob/master/lib/react.js#L262-L271).

The long and short of it is that for whatever reason, Flow is unable to realize that `ReactPropsChainableTypeChecker` is a subtype of `ReactPropsCheckType` unless we assert it. Once we explicitly hint this to the typechecker, it realizes that `EdgeInsetsPropType` is indeed a valid React PropType, and stops complaining that it isn't.
Closes https://github.com/facebook/react-native/pull/16437

Differential Revision: D6109742

Pulled By: sahrens

fbshipit-source-id: e4e10720b68c912d0372d810409f389b65d7f4b1
2017-10-20 03:50:25 -07:00
..
PlatformViewPropTypes.android.js Adds hook for platform-specific View props 2017-07-24 12:26:58 -07:00
PlatformViewPropTypes.ios.js Adds hook for platform-specific View props 2017-07-24 12:26:58 -07:00
ReactNativeStyleAttributes.js iOS: Implement border(Top|Bottom)(Start|End)Radius and border(Start|End)(Color|Width) RN styles 2017-10-18 19:33:31 -07:00
ReactNativeViewAttributes.js Add a nativeID prop to allow native code to reference react managed views 2017-04-07 12:00:40 -07:00
ShadowPropTypesIOS.js Improve view props and style stuff. 2017-06-01 01:15:42 -07:00
View.js Fix Flow errors at declaration of most major library components 2017-10-20 03:50:25 -07:00
View.js.flow Added Flow types for React Native host components 2017-09-15 16:22:04 -07:00
ViewAccessibility.js RN: Export Accessibility Prop Types 2017-02-02 23:28:31 -08:00
ViewPropTypes.js Adds hook for platform-specific View props 2017-07-24 12:26:58 -07:00
ViewStylePropTypes.js iOS: Implement border(Top|Bottom)(Start|End)Radius and border(Start|End)(Color|Width) RN styles 2017-10-18 19:33:31 -07:00