mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-03 19:42:27 +08:00
Merge pull request #27362 from mshoho/react-native-typo-fix
React native typo fix
This commit is contained in:
2
types/react-native/index.d.ts
vendored
2
types/react-native/index.d.ts
vendored
@@ -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.
|
||||
|
||||
@@ -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 />
|
||||
|
||||
Reference in New Issue
Block a user