Skip to content

Commit 08d3720

Browse files
committed
add toggleCancelButton
1 parent 5aed382 commit 08d3720

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

versioned_docs/version-7.x/native-stack-navigator.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,7 @@ Ref to manipulate the search input imperatively. It contains the following metho
514514
- `setText` - sets the search bar's content to given value
515515
- `clearText` - removes any text present in the search bar input field
516516
- `cancelSearch` - cancel the search and close the search bar
517+
- `toggleCancelButton` - depending on passed boolean value, hides or shows cancel button (only supported on iOS)
517518

518519
##### `autoCapitalize`
519520

0 commit comments

Comments
 (0)