Fixing typo in Accessibility documentation
Summary: Currently there is a typo in Accessibility.md which will result in an invalid prop type warning if directly adhered to. The instance of `no-hide-descendant` should instead be updated to `no-hide-descendants` (plural) in the documentation. Closes https://github.com/facebook/react-native/pull/10566 Differential Revision: D4082750 Pulled By: lacker fbshipit-source-id: 18e2d9db6004767903e9308a2c0a900d2d9055fc
This commit is contained in:
parent
22eaf2d7ba
commit
633781a58d
|
@ -127,7 +127,7 @@ In the case of two overlapping UI components with the same parent, default acces
|
|||
<Text> First layout </Text>
|
||||
</View>
|
||||
<View style={{position: 'absolute', left: 10, top: 10, right: 10, height: 100,
|
||||
backgroundColor: 'yellow'}} importantForAccessibility=”no-hide-descendant”>
|
||||
backgroundColor: 'yellow'}} importantForAccessibility=”no-hide-descendants”>
|
||||
<Text> Second layout </Text>
|
||||
</View>
|
||||
</View>
|
||||
|
|
Loading…
Reference in New Issue