Skip to content

Commit 3e01734

Browse files
committed
Add typedefs for ByRole with accessibilityState
1 parent 5eb1a26 commit 3e01734

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

website/docs/Queries.md

+5
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,11 @@ getByRole(
238238
role: TextMatch,
239239
option?: {
240240
name?: TextMatch
241+
disabled?: boolean,
242+
selected?: boolean,
243+
checked?: boolean | 'mixed',
244+
busy?: boolean,
245+
expanded?: boolean,
241246
}
242247
): ReactTestInstance;
243248
```

0 commit comments

Comments
 (0)