Added ability to set custom accessibility tap handler to React Native

This commit is contained in:
Georgiy Kassabli
2015-05-20 08:33:16 -07:00
parent 32666f0aa2
commit d211359aeb
6 changed files with 35 additions and 6 deletions

View File

@@ -99,6 +99,12 @@ var View = React.createClass({
PropTypes.arrayOf(PropTypes.oneOf(AccessibilityTraits)),
]),
/**
* When `accessible` is true, the system will try to invoke this function
* when the user performs accessibility tap gesture.
*/
onAcccessibilityTap: PropTypes.func,
/**
* When `accessible` is true, the system will invoke this function when the
* user performs the magic tap gesture.