mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-06-11 17:10:10 +08:00
Summary: Previously, I added accessibilityRole and accessibilityStates as View Properties. In this diff, I added accessibilityRole and accessibilityStates to ReactNativeViewAttributes.UIView, which is used for viewconfig in some components. The NativeMethodsMixing uses the set view config when invoking `setNativeProps`, and it's used to make those components look like an actual native component class. Reviewed By: PeteTheHeat Differential Revision: D8976524 fbshipit-source-id: 16a5ba7d91ee9cfb6488c2d94f7f23b9093e5b81