You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is not at all clear from docs how to override css
if I use className="select-search" I get pre defined styles while if I use className={ (key:any) => classes[key]} I don't see those classes at all on the html elements.
I tried to copy the full css of https://github.com/tbleckert/react-select-search/blob/main/style.css
into a .css file and then import it as classes but It is of no use as html elements don't have those classes at all.
I know this is an elementary question, but the docs should make it clear for someone starting out with the library.
The text was updated successfully, but these errors were encountered:
ishandutta2007
changed the title
It is not at all clear from docs how to override, please update the docs.
It is not at all clear from docs how to override css, please update the docs.
Apr 6, 2024
It is not at all clear from docs how to override css
if I use
className="select-search"
I get pre defined styles while if I useclassName={ (key:any) => classes[key]}
I don't see those classes at all on the html elements.I tried to copy the full css of https://github.com/tbleckert/react-select-search/blob/main/style.css
into a .css file and then import it as classes but It is of no use as html elements don't have those classes at all.
I know this is an elementary question, but the docs should make it clear for someone starting out with the library.
The text was updated successfully, but these errors were encountered: