Skip to content

Commit

Permalink
docs: fix search bar only for iOS (#1295)
Browse files Browse the repository at this point in the history
Fix searchBar only for iOS.
  • Loading branch information
WoLewicki authored Feb 1, 2022
1 parent ac47885 commit 029131c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions native-stack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -357,12 +357,10 @@ Defaults to `auto`.

Sets the translucency of the status bar (similar to the `StatusBar` component). Defaults to `false`.

### Search bar (iOS only)
### Search bar

The search bar is just a `searchBar` property that can be specified in the navigator's `screenOptions` or an individual screen's `options`. Search bars are rarely static so normally it is controlled by passing an object to `searchBar` navigation option in the component's body.

Search bar is only supported on iOS.

Example:

```js
Expand Down

0 comments on commit 029131c

Please sign in to comment.