Skip to content

Commit 3fcb1e5

Browse files
committed
feat: update standalone docs
1 parent 0e4ad31 commit 3fcb1e5

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/docs/docs/guides/standalone-usage.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,7 @@ Each route in the `routes` array can have the following properties:
212212
- `activeTintColor`: Custom active tint color for this specific tab
213213
- `lazy`: Whether to lazy load this tab's content
214214
- `freezeOnBlur`: Whether to freeze the tab's content when it's not visible
215+
- `role`: A value that defines the purpose of the tab
215216

216217
### Helper Props
217218

@@ -260,3 +261,9 @@ Function to determine if a tab should be hidden.
260261
Function to get the test ID for a tab item.
261262

262263
- 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

Comments
 (0)