Open mpaccione opened 2 years ago
There's an open PR trying to solve this I think but I don't have much time to look at and update this project at the moment. If you want to tweak the current implementation to fix your needs, you can use something like patch-package or fork it. I'll leave the issue open as it's somewhat a problem and would be nice to support overrides with styled-components
.
Thanks for responding. Given that you don't have time to review open PR's I wont make one. However I will fix this to solve my own needs.
patch-package looks cool, thanks for the tip!
The passing of the className prop should not be on the input directly but on the top level element. When you set it directly to the input I cannot styled the injected date popup. This needs to be reworked.
The below code should work but doesn't of course.