mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-04-24 04:25:27 +08:00
Documentation edits; transfer props
This commit is contained in:
@@ -12,6 +12,8 @@ container.
|
||||
|
||||
## Props
|
||||
|
||||
NOTE: `Text` will transfer all other props to the rendered HTML element.
|
||||
|
||||
**children** any
|
||||
|
||||
Child content
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
# View
|
||||
|
||||
`View` is the fundamental UI building block. It is a component that supports
|
||||
style, layout with flexbox, and accessibility controls. It can be nested
|
||||
style, layout with flexbox, and accessibility controls. It can be nested
|
||||
inside another `View` and has 0-to-many children of any type.
|
||||
|
||||
## Props
|
||||
|
||||
NOTE: `View` will transfer all other props to the rendered HTML element.
|
||||
|
||||
**accessibilityLabel** string
|
||||
|
||||
Overrides the text that's read by the screen reader when the user interacts
|
||||
|
||||
Reference in New Issue
Block a user