react-native/Libraries/Components
Eric Rozell 59105f6b1e Adds hook for platform-specific View props
Summary:
Platforms that plug in to react-native may require additional props that are specific to those platforms. For example, already in react-native there are props that are specific to Android (`accessibilityComponentType`, `needsOffscreenAlphaCompositing`, etc.), props that are specific to iOS (`accessibilityTraits`, `shouldRasterizeIOS`, etc.) and props that are specific to tvOS (`isTVSelectable`, `tvParallaxProperties`, etc.).

I need to add properties to `react-native-windows`, and I'd prefer not to override the entire `ViewPropTypes` file as it is a risk that things in react-native-windows fall out of sync with react-native.

Fixes #15173

<!--
Thank you for sending the PR!

If you changed any code, please provide us with clear instructions on how you verified your changes work. In other words, a test plan is *required*. Bonus points for screenshots and videos!

Please read the Contribution Guidelines at https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md to learn more about contributing to React Native.

Happy contributing!
-->
Closes https://github.com/facebook/react-native/pull/15175

Differential Revision: D5481444

Pulled By: hramos

fbshipit-source-id: 3da08716d03ccdf317ec447536eea3699dd7a760
2017-07-24 12:26:58 -07:00
..
AccessibilityInfo iOS: Introduce API for making screen reader announcements 2017-05-30 04:46:08 -07:00
ActivityIndicator Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
AppleTV Update remaining PropTypes references 2017-06-12 16:03:09 -07:00
Clipboard Remove deprecated APIs and modules 2016-10-11 07:43:52 -07:00
DatePicker Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
DatePickerAndroid Fixed a typo in open function documentation 2017-04-18 15:36:20 -07:00
DrawerAndroid Update DrawerLayoutAndroid.android.js 2017-07-24 08:16:25 -07:00
Keyboard Libraries/Shared --> Libraries/www-shared, EventEmitter --> vendor/emitter 2017-07-21 09:40:15 -07:00
MaskedView use propTypes directly 2017-07-20 03:19:45 -07:00
Navigation Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
Picker Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
ProgressBarAndroid Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
ProgressViewIOS Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
RefreshControl Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
ScrollView Identify keyboardDismissMode platform-specific options 2017-07-24 11:23:10 -07:00
SegmentedControlIOS Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
Slider Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
StatusBar Fix type of StatusBar backgroundColor so it is displayed correctly in docs 2017-07-07 20:33:31 -07:00
Switch Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
TabBarIOS Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
TextInput Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
TimePickerAndroid Clean unused import modules. 2016-10-16 11:13:40 -07:00
ToastAndroid Add very basic usage example for android toast 2016-09-19 06:43:54 -07:00
ToolbarAndroid Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
Touchable Docs: Update TouchableWithoutFeedback.js 2017-07-17 20:31:47 -07:00
UnimplementedViews Make UnimplementedView invisible in prod 2017-06-06 09:45:15 -07:00
View Adds hook for platform-specific View props 2017-07-24 12:26:58 -07:00
ViewPager add peeking feature in AndroidViewPage(RN) 2017-06-30 22:21:06 -07:00
WebView Fix scalesPageToFit default property for iOS WebView. 2017-06-29 01:00:39 -07:00
Button.js Clearer code in Button.js 2017-06-27 11:33:34 -07:00
LazyRenderer.js Replace React.createClass with create-react-class 2017-07-07 14:36:01 -07:00
ScrollResponder.js Add support for flashScrollIndicators on iOS 2017-06-06 13:06:48 -07:00
StaticContainer.react.js Rename files to match @providesModule annotations 2017-02-03 15:58:58 -08:00
StaticRenderer.js Ran PropTypes -> prop-types codemod against Libraries/FBReactKit/js/react-native-github 2017-04-12 16:15:15 -07:00
Subscribable.js [ReactNative] clean lint for Libraries/Components 2015-05-18 15:54:07 -08:00