Replies: 1 comment 1 reply
-
Thanks for your feedback as usual @zaaakher ! Do you have an idea how we could make this easier and less cumbersome? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
So I spent that last couple of hours trying to rotate the
Chevron
component in a way that would point to the correct direction regardless of thedir
prop passed to theDayPicker
directly or to any of its parents.I'd like to share the knowledge for others who potentially work with RTL
Here's the stackblitz to see it in action
Conclusion
If you want the chevron icons to be correctly oriented (in all cases) like so:
Use the following code in your
Chevron
custom componentNote: Here's source code for the
cn
which is a simple classes merger.Beta Was this translation helpful? Give feedback.
All reactions