We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e4ad31 commit 3fcb1e5Copy full SHA for 3fcb1e5
docs/docs/docs/guides/standalone-usage.md
@@ -212,6 +212,7 @@ Each route in the `routes` array can have the following properties:
212
- `activeTintColor`: Custom active tint color for this specific tab
213
- `lazy`: Whether to lazy load this tab's content
214
- `freezeOnBlur`: Whether to freeze the tab's content when it's not visible
215
+- `role`: A value that defines the purpose of the tab
216
217
### Helper Props
218
@@ -260,3 +261,9 @@ Function to determine if a tab should be hidden.
260
261
Function to get the test ID for a tab item.
262
263
- Default: Uses `route.testID`
264
+
265
+#### `getRole`
266
267
+Function to get the role for a tab item.
268
269
+- Default: Uses `route.role`
0 commit comments