mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-01-12 22:51:09 +08:00
Docs: minor adjustments
This commit is contained in:
@@ -16,13 +16,13 @@ NOTE: `Text` will transfer all other props to the rendered HTML element.
|
||||
|
||||
**children** any
|
||||
|
||||
Child content
|
||||
Child content.
|
||||
|
||||
**component** function, string
|
||||
**component** function or string
|
||||
|
||||
Default is `span`.
|
||||
|
||||
**numberOfLines** number
|
||||
**numberOfLines** number.
|
||||
|
||||
Truncates the text with an ellipsis after this many lines.
|
||||
|
||||
|
||||
@@ -13,11 +13,6 @@ NOTE: `View` will transfer all other props to the rendered HTML element.
|
||||
Defines the text available to assistive technologies upon interaction with the
|
||||
element. (This is implemented using `aria-label`.)
|
||||
|
||||
**accessible** bool
|
||||
|
||||
When `false`, the view is hidden from assistive technologies. Default: `true`. (This is
|
||||
implemented using `aria-hidden`.)
|
||||
|
||||
**accessibilityLiveRegion** oneOf('assertive', 'off', 'polite')
|
||||
|
||||
Indicates to assistive technologies whether to notify the user when the view
|
||||
@@ -38,7 +33,12 @@ Note: Avoid changing `accessibilityRole` values over time or after user
|
||||
actions. Generally, accessibility APIs do not provide a means of notifying
|
||||
assistive technologies of a `role` value change.
|
||||
|
||||
**component** function, string
|
||||
**accessible** bool
|
||||
|
||||
When `false`, the view is hidden from assistive technologies. Default: `true`. (This is
|
||||
implemented using `aria-hidden`.)
|
||||
|
||||
**component** function or string
|
||||
|
||||
The React Component for this view. Default: `div`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user