mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-09 22:50:21 +08:00
Fix typos in ./docs
This commit is contained in:
@@ -81,7 +81,7 @@ Assign this property to a custom function which will be called when someone perf
|
||||
|
||||
#### accessibilityComponentType (Android)
|
||||
|
||||
In some cases, we also want to alert the end user of the type of selected component (ie, that it is a “button”). If we were using native buttons, this would work automatically. Since we are using javascript, we need to provide a bit more context for TalkBack. To do so, you must specify the ‘accessibilityComponentType’ property for any UI component. For instances, we support ‘button’, ‘radiobutton_checked’ and ‘radiobutton_unchecked’ and so on.
|
||||
In some cases, we also want to alert the end user of the type of selected component (i.e., that it is a “button”). If we were using native buttons, this would work automatically. Since we are using javascript, we need to provide a bit more context for TalkBack. To do so, you must specify the ‘accessibilityComponentType’ property for any UI component. For instances, we support ‘button’, ‘radiobutton_checked’ and ‘radiobutton_unchecked’ and so on.
|
||||
|
||||
```javascript
|
||||
<TouchableWithoutFeedback accessibilityComponentType=”button”
|
||||
|
||||
@@ -129,7 +129,7 @@ Great, we've rendered our data. Now let's make it look better. I'd like to put t
|
||||
+---------------------------------+
|
||||
```
|
||||
|
||||
We'll need to add another container in order to vertically lay out components within horizontally layed out components.
|
||||
We'll need to add another container in order to vertically lay out components within horizontally laid out components.
|
||||
|
||||
```javascript
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user