Decouple styling and logic
kujon opened this issue · 5 comments
It would be absolutely awesome if this library was exposed as logic + markup and the styles came as a separate package. If one isn't doing jss in their project, the bundle size suffers and one ends up resorting to selector wars.
Good point!
This would require some patch in react-date-picker
, though, as there is no direct way to setup styles, as far as I know (or find another module - but apart from custom styling react-date-picker
works quite nicely).
Awesome stuff! Raised it with them as well ^^ https://github.com/zippyui/react-date-picker/issues/99
I'd like this too. This lib is basically exactly what I need right now but I need to style it, and I don't use JSS.
Yes, there will be update soon (I hope) - it will be using modified version of react-day-picker
(instead of react-date-picker
) with themes support (see react-base16-styling), so it will be agnostic to your styling preferences.