react-native/Libraries/Components/View
Ziqi Chen 03036f79f7 Changed prop name "currentViewStates" to "accessibilityStates" in js (1/3)
Summary:
Context:
After discussing with @[1038750002:yungsters], `currentViewStates` is a very ambiguous name for a prop, especially because there are only two possible values. From a developer's perspective, it makes more sense to just call them `accessibilityStates` because the main use for them is to add states to Talkback and Voiceover.
Also, the actual implementation of what we're changing under the hood in Native Code is abstracted away from developers using React Native, so as long as behavior is as they would expect, it makes more sense to change the name into a clear one.

Changes in this Diff:
Changed the prop name `currentViewStates` to `accessibilityStates` in js files

Reviewed By: PeteTheHeat

Differential Revision: D8896223

fbshipit-source-id: dfdb48dce69303a347dfccd194af2fef9beb776c
2018-07-19 14:13:00 -07:00
..
PlatformViewPropTypes.js Prettier React Native Libraries 2018-05-10 19:10:38 -07:00
ReactNativeStyleAttributes.js Prettier React Native Libraries 2018-05-10 19:10:38 -07:00
ReactNativeViewAttributes.js Flow strictify possible files in RN core 2018-06-20 00:47:21 -07:00
ShadowPropTypesIOS.js Remove @providesModule from all modules 2018-04-25 07:37:10 -07:00
View.js Fix more forwardRef displayNames 2018-06-19 14:17:19 -07:00
ViewAccessibility.js Changed prop name "currentViewStates" to "accessibilityStates" in js (1/3) 2018-07-19 14:13:00 -07:00
ViewPropTypes.js Changed prop name "currentViewStates" to "accessibilityStates" in js (1/3) 2018-07-19 14:13:00 -07:00
ViewStylePropTypes.js Prettier React Native Libraries 2018-05-10 19:10:38 -07:00