import SearchBar from "react-native-dynamic-search-bar"
<SearchBar
fontColor="#c6c6c6"
iconColor="#c6c6c6"
shadowColor="#282828"
cancelIconColor="#c6c6c6"
backgroundColor="#353d5e"
placeholder="Search here"
onChangeText={(text) => this.filterList(text)}
onSearchPress={() => console.log("Search Icon is pressed")}
onClearPress={() => this.filterList("")}
onPress={() => alert("onPress")}
/>
Last active
November 10, 2021 18:22
-
-
Save WrathChaos/4a1d5f19fdcef09761bf4c377ac1268b to your computer and use it in GitHub Desktop.
Basic Usage of React Native Dynamic SearchBar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment