react-native/Libraries/Components/View
Eli White 26734a8473 Migrating View to be a Flow Typed ES6 class
Summary:
The flow type for View using createReactClass was essentially `any`, allowing any Prop to be passed in, only pseudo enforced at run time via propTypes.

This diff converts View away from createReactClass and instead uses ReactNative.NativeComponent. This was previously typed as any as well which didn't buy us much. This change converts View to be an ES6 React class component to ensure proptypechecking, and exposes the methods copied from NativeMethodsMixin.

Reviewed By: yungsters

Differential Revision: D5933888

fbshipit-source-id: eae63b818203e0e86741f9f154ec9cf3498369e2
2018-03-09 18:33:52 -08:00
..
FabricView.js update FabricUIManager to call the right JS object 2018-02-23 17:04:40 -08:00
PlatformViewPropTypes.js Add support for Android TV devices 2018-03-06 10:47:02 -08:00
ReactNativeStyleAttributes.js Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
ReactNativeViewAttributes.js Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
ShadowPropTypesIOS.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
View.js Migrating View to be a Flow Typed ES6 class 2018-03-09 18:33:52 -08:00
ViewAccessibility.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ViewContext.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ViewPropTypes.js Making values optional in ViewPropTypes 2018-03-09 10:26:07 -08:00
ViewStylePropTypes.js Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00