diff --git a/versioned_docs/version-6.x/native-stack-navigator.md b/versioned_docs/version-6.x/native-stack-navigator.md index 1b2dbeae544..f07f3c0f2e9 100755 --- a/versioned_docs/version-6.x/native-stack-navigator.md +++ b/versioned_docs/version-6.x/native-stack-navigator.md @@ -370,6 +370,10 @@ A callback that gets called when the cancel button is pressed. A callback that gets called when the text changes. It receives the current text value of the search bar. +##### `onSearchButtonPress` + +A callback that gets called when the search button is pressed. It receives the current text value of the search bar. + Example: ```js diff --git a/versioned_docs/version-7.x/native-stack-navigator.md b/versioned_docs/version-7.x/native-stack-navigator.md index c1deaffe0cb..7bc804ae434 100755 --- a/versioned_docs/version-7.x/native-stack-navigator.md +++ b/versioned_docs/version-7.x/native-stack-navigator.md @@ -370,6 +370,10 @@ A callback that gets called when the cancel button is pressed. A callback that gets called when the text changes. It receives the current text value of the search bar. +##### `onSearchButtonPress` + +A callback that gets called when the search button is pressed. It receives the current text value of the search bar. + Example: ```js