-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
range picker of months, range picker of years, year picker, format value like reactdatepicker.com & add className props for customize tailwindcss class #3
Comments
Thank you @muh-hizbe for the feature requests. It will be processed very soon. |
className props would be awesome to customize design (like margins and padding for my usage) Edit : I had not seen the package had been updated with props like I tested it, it's almost perfect but there's a little problem when adding classes already present in the base component. They might not override the base class because "the order that the classes appear in the class attribute doesn't matter, the rule that comes later in the CSS stylesheets wins". (Problem is described here : https://dev.to/diogoko/overriding-tailwind-classes-in-react-4po3). For example, if you override The solution proposed in this article is to use a utility functionality to efficiently merge tailwind classes like https://github.com/dcastil/tailwind-merge. Example updated code with input classes : |
Hello @pbell23 👋 Sorry for the delay. Thank you very much for your feedback which I really appreciate. I really like your explanation of the problem and also the package that you have just made me discover. Thanks to you, I just learned something. I will correct the problem very soon. PR's are always welcome. Feel free to contribute. |
I really like the package and would be super interested in the possibility to choose month only. |
Hello @danielweil 👋 Thank you for your feedback. Please be reassured. |
Is this still not available? Would also like to have a monthly only option. |
Still not available for month and year picker? |
Still waiting for the year picker and month picker features as it is available in every other date-picker and makes work simpler and faster. |
The text was updated successfully, but these errors were encountered: