Docs: minor adjustments

This commit is contained in:
Nicolas Gallagher
2015-09-08 00:24:12 -07:00
parent 3b848fe378
commit edf0fda75a
2 changed files with 9 additions and 9 deletions

View File

@@ -16,13 +16,13 @@ NOTE: `Text` will transfer all other props to the rendered HTML element.
**children** any **children** any
Child content Child content.
**component** function, string **component** function or string
Default is `span`. Default is `span`.
**numberOfLines** number **numberOfLines** number.
Truncates the text with an ellipsis after this many lines. Truncates the text with an ellipsis after this many lines.

View File

@@ -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 Defines the text available to assistive technologies upon interaction with the
element. (This is implemented using `aria-label`.) 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') **accessibilityLiveRegion** oneOf('assertive', 'off', 'polite')
Indicates to assistive technologies whether to notify the user when the view 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 actions. Generally, accessibility APIs do not provide a means of notifying
assistive technologies of a `role` value change. 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`. The React Component for this view. Default: `div`.