26734a8473
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 |
||
---|---|---|
.. | ||
FabricView.js | ||
PlatformViewPropTypes.js | ||
ReactNativeStyleAttributes.js | ||
ReactNativeViewAttributes.js | ||
ShadowPropTypesIOS.js | ||
View.js | ||
ViewAccessibility.js | ||
ViewContext.js | ||
ViewPropTypes.js | ||
ViewStylePropTypes.js |