react-native/Libraries/Components
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
..
AccessibilityInfo Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
ActivityIndicator Avoid var specific hoisting rules 2018-03-01 16:57:25 -08:00
AppleTV Add support for Android TV devices 2018-03-06 10:47:02 -08:00
CheckBox Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Clipboard Update license headers for MIT license 2018-02-16 18:31:53 -08:00
DatePicker Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
DatePickerAndroid Update license headers for MIT license 2018-02-16 18:31:53 -08:00
DrawerAndroid Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
Keyboard Update license headers for MIT license 2018-02-16 18:31:53 -08:00
MaskedView Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Navigation Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
Picker Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
ProgressBarAndroid Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ProgressViewIOS Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
RefreshControl Fix RefreshControl's dependency on AndroidSwipeRefreshLayout 2018-03-07 18:57:42 -08:00
SafeAreaView Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ScrollView RN: Remove Animated -> ScrollView -> Animated Cycle 2018-02-20 20:35:08 -08:00
SegmentedControlIOS Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
Slider Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
StatusBar Update license headers for MIT license 2018-02-16 18:31:53 -08:00
Switch Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
TabBarIOS StyleObj -> DangerouslyImpreciseStyleProp 2018-03-07 13:24:20 -08:00
TextInput Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
TimePickerAndroid Update license headers for MIT license 2018-02-16 18:31:53 -08:00
ToastAndroid Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
ToolbarAndroid Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
Touchable Add support for Android TV devices 2018-03-06 10:47:02 -08:00
UnimplementedViews Update license headers for MIT license 2018-02-16 18:31:53 -08:00
View Migrating View to be a Flow Typed ES6 class 2018-03-09 18:33:52 -08:00
ViewPager Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
WebView Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
Button.js Add support for Android TV devices 2018-03-06 10:47:02 -08:00
LazyRenderer.js Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
ScrollResponder.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
StaticContainer.react.js Update license headers for MIT license 2018-02-16 18:31:53 -08:00
StaticRenderer.js Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00
Subscribable.js Converting Libraries/Components to not use var 2018-03-03 15:38:18 -08:00