Skip to content

Commit 0e4ad31

Browse files
committed
feat: update react-navigation docs
1 parent 8149caf commit 0e4ad31

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/docs/docs/guides/usage-with-react-navigation.mdx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,14 @@ It's working separately from `enableFreeze()` in `react-native-screens`. So sett
326326

327327
Test ID for the tab item. This can be used to find the tab item in the native view hierarchy.
328328

329+
#### `role` <Badge text="iOS 18+" type="info" />
330+
331+
A value that defines the purpose of the tab. This can be used to pin and separate search tabs
332+
333+
Available options:
334+
335+
- `search` - The search role.
336+
329337
### Events
330338

331339
The navigator can emit events on certain actions. Supported events are:

0 commit comments

Comments
 (0)