Skip to content

Commit

Permalink
Add typedefs for ByRole with accessibilityState
Browse files Browse the repository at this point in the history
  • Loading branch information
AugustinLF committed Oct 19, 2022
1 parent 5eb1a26 commit 3e01734
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions website/docs/Queries.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,11 @@ getByRole(
role: TextMatch,
option?: {
name?: TextMatch
disabled?: boolean,
selected?: boolean,
checked?: boolean | 'mixed',
busy?: boolean,
expanded?: boolean,
}
): ReactTestInstance;
```
Expand Down

0 comments on commit 3e01734

Please sign in to comment.