alsoscotland / react-super-select

MIT License
95 stars 33 forks source link

Enhancement : option to position the search icon at the left #73

Closed amgohan closed 8 years ago

amgohan commented 8 years ago

Hi @alsoscotland I hope you are doing well.

I want to position the search magnifier to the right (to match our ux requirements), but I found that is hardcoded into the component code source.

Can you provide an option like "searchMagnifierIconToLeft" or tell me if there is another way to do it.

Thanks.

alsoscotland commented 8 years ago

@amgohan The styling rules for the control are all written with fairly minimal specificity. You should be able to add a custom class to your wrapper with the customClass property http://alsoscotland.github.io/react-super-select/#customClass and then override any css you want to change by preceding rules with that class.

amgohan commented 8 years ago

:+1 thanks @alsoscotland I was able to fix it