A searcbar for React Native Navigation which collapses the header when focussed. It's that simple!
npm install react-native-navigation-search-bar --save
or
yarn add react-native-navigation-search-bar
This component wraps the react-native-elements with extra functionality for React Native Navigation.
import { RNNSearchBar } from "react-native-navigation-search-bar";
// register our drawer component with RNN
<RNNSearchBar
componentId={componentId} // <-- RNN component id
statusBarHeight={statusBarHeight} // <-- prop status bar height
search={...}
onChangeText={...}
/>
- Luke Brandon Farrell - Author
This project is licensed under the MIT License