diff --git a/docs/components/Text.md b/docs/components/Text.md index bdd3accf..f60f3da2 100644 --- a/docs/components/Text.md +++ b/docs/components/Text.md @@ -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. diff --git a/docs/components/View.md b/docs/components/View.md index c3337103..dd88ab0d 100644 --- a/docs/components/View.md +++ b/docs/components/View.md @@ -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`.