Closed joeyparis closed 3 years ago
This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.
🔍 Inspect: https://vercel.com/tbleckert/react-select-search/61wG1fFyBm8JyH1EtyqP57p6Wbby
✅ Preview: https://react-select-s-git-fork-joeyparis-add-default-class-name-dad419.vercel.app
Nevermind, apparently this was a bug with defaultProps
being broken by the why-did-you-render
package.
If a
className
is not provided on theSelectSearch
component an error is thrown by theuseClassName
hook. This pull request allows theclassName
prop to be left out and will default toselect-search
to matchstyle.css
. I also update the ReadMe to reflect this value.