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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I spent that last couple of hours trying to rotate the
Chevroncomponent in a way that would point to the correct direction regardless of thedirprop passed to theDayPickerdirectly 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
Chevroncustom componentNote: Here's source code for the
cnwhich is a simple classes merger.Beta Was this translation helpful? Give feedback.
All reactions