changed documentation for accessibilityHint

Summary:
Changed documentation for accessibility Hint so that its no longer only available on iOS

Also added full description of documentation for accessibility Role as it was missing earlier

Reviewed By: PeteTheHeat

Differential Revision: D9072572

fbshipit-source-id: c8d20f30df588717d9ec37721c2aa3c86a0664c6
This commit is contained in:
Ziqi Chen 2018-08-08 01:20:43 -07:00 committed by Facebook Github Bot
parent d3f0919816
commit 91b3a3055a
1 changed files with 1 additions and 2 deletions

View File

@ -134,7 +134,6 @@ module.exports = {
* an action on the accessibility element when that result is not obvious from the
* accessibility label.
*
* @platform ios
*
* See http://facebook.github.io/react-native/docs/view.html#accessibilityHint
*/
@ -165,7 +164,7 @@ module.exports = {
accessibilityComponentType: PropTypes.oneOf(AccessibilityComponentTypes),
/**
* Indicates to accessibility services to treat UI component like a
* Indicates to accessibility services to treat UI component like a specific role.
*/
accessibilityRole: PropTypes.oneOf(AccessibilityRoles),