sickdyd / react-search-autocomplete

A search box that filters the provided array of objects
https://sickdyd.github.io/react-search-autocomplete
MIT License
218 stars 82 forks source link

how to set the search result to input background with silver color to suggest user complete it? like google drive search input #25

Closed tahaamiri closed 2 years ago

sickdyd commented 2 years ago

Hello @tahaamiri,

if you look at the last example in the demo (with green colors) you can see that I set a green background. You can take a look at it to see how it works, but basically you just have to use the styling prop and pass hoverBackgroundColor with the color you want.

styling={{ hoverBackgroundColor: "silver" }}
sickdyd commented 2 years ago

Closing because solvable with styling prop