aymeric-giraudet / svelte-algolia-instantsearch

A Svelte component library for Algolia InstantSearch.js
https://svelte-algolia-instantsearch.vercel.app/
MIT License
52 stars 12 forks source link

refactor: :recycle: add `input` as a supported class prop on `RefinementList` #25

Closed djdembeck closed 1 year ago

djdembeck commented 1 year ago

This allows styling the <input> element. Implementation copied from SearchBox component. Closes https://github.com/aymeric-giraudet/svelte-algolia-instantsearch/issues/24

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svelte-algolia-instantsearch ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 21, 2023 6:53pm
aymeric-giraudet commented 1 year ago

Funnily enough that's not in React InstantSearch, I guess users have to style ais-RefinementList-searchBox > input or whatever other class they set in searchBox.

I'm not against this change though, makes sense, most people would wanna customize the input rather than the rest. Thanks !