sickdyd / react-search-autocomplete

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

How about adding classNames #92

Closed Boris-Scharinger closed 1 year ago

Boris-Scharinger commented 1 year ago

Hi sickdyd, wonderful stuff!! One suggestion to improve the way we can leverage (S)CSS: How about an attribute to add a className to the search input field?

0tii commented 1 year ago

Went here to open exactly this issue - important feature missing

wlsp commented 1 year ago

Oh yes, that would be great! Like you can style the whole thing with your needs - like the Icon position, the icon itselft!

sickdyd commented 1 year ago

Hello guys, I added a prop to pass a class to the component, you will find it in the latest version.

A few caveats:

sickdyd commented 1 year ago

I will close this as resolved. Let me know if you need more changes.