Skip to content

Commit

Permalink
adding accessibilityRole 'grid' to documentation (facebook#3224)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabOnReact authored Sep 6, 2022
1 parent 0de9633 commit 9422060
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ In the above example method `addOne` changes the state variable `count`. As soon
- **timer** Used to represent a timer.
- **togglebutton** Used to represent a toggle button. Should be used with accessibilityState checked to indicate if the button is toggled on or off.
- **toolbar** Used to represent a tool bar (a container of action buttons or components).
- **grid** Used with ScrollView, VirtualizedList, FlatList, or SectionList to represent a grid. Adds the in/out of grid announcements to the android GridView.

### `accessibilityState`

Expand Down
1 change: 1 addition & 0 deletions docs/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ See the [Android `View` docs](http://developer.android.com/reference/android/vie
- `'tablist'` - Used to represent a list of tabs.
- `'timer'` - Used to represent a timer.
- `'toolbar'` - Used to represent a tool bar (a container of action buttons or components).
- `'grid'` - Used with ScrollView, VirtualizedList, FlatList, or SectionList to represent a grid. Adds the in/out of grid announcements to the android GridView.

| Type |
| ------ |
Expand Down

0 comments on commit 9422060

Please sign in to comment.