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:23
-
-
Save WrathChaos/5b6eeb18edf7b97a51fb2d9911b95f54 to your computer and use it in GitHub Desktop.
React Native Dynamic SearchBar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment