mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-30 05:55:48 +08:00
added accessibilityIgnoresInvertColors to module.exports in ViewPropTypes
Summary: Previously, I exposed the "accessibilityIgnoresInvertColors" API on iOS to react native views. In this diff, I added this property to the `module.exports` in `ViewPropTypes` so that the property can be accessed by other files. Reviewed By: PeteTheHeat Differential Revision: D8977515 fbshipit-source-id: d0aba5eac3bc1528e18b6027f3f055e5f4a1147a
This commit is contained in:
committed by
Facebook Github Bot
parent
b5b704dc19
commit
c36e8b3307
@@ -135,6 +135,13 @@ module.exports = {
|
|||||||
*/
|
*/
|
||||||
accessibilityActions: PropTypes.arrayOf(PropTypes.string),
|
accessibilityActions: PropTypes.arrayOf(PropTypes.string),
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Prevents view from being inverted if set to true and color inversion is turned on.
|
||||||
|
*
|
||||||
|
* @platform ios
|
||||||
|
*/
|
||||||
|
accessibilityIgnoresInvertColors: PropTypes.bool,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Indicates to accessibility services to treat UI component like a
|
* Indicates to accessibility services to treat UI component like a
|
||||||
* native one. Works for Android only.
|
* native one. Works for Android only.
|
||||||
|
|||||||
Reference in New Issue
Block a user