Merge pull request #27362 from mshoho/react-native-typo-fix

React native typo fix
This commit is contained in:
Eloy Durán
2018-07-17 22:51:08 +02:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

View File

@@ -1839,7 +1839,7 @@ export interface AccessibilityPropsIOS {
* When `accessible` is true, the system will try to invoke this function when the user performs accessibility tap gesture.
* @platform ios
*/
onAcccessibilityTap?: () => void;
onAccessibilityTap?: () => void;
/**
* When accessible is true, the system will invoke this function when the user performs the magic tap gesture.

View File

@@ -695,6 +695,7 @@ class AccessibilityTest extends React.Component {
accessibilityElementsHidden={true}
importantForAccessibility={"no-hide-descendants"}
accessibilityTraits={'none'}
onAccessibilityTap={() => {}}
>
<Text accessibilityTraits={['key', 'text']}>Text</Text>
<View />