Skip to content

How to add styles to current date in Date Range Pickers from react-aria-components #6935

Closed Answered by reidbarber
RajaTheKing826 asked this question in Q&A
Discussion options

You must be logged in to vote

There is an isToday function in @internationalized/date that you can use: https://react-spectrum.adobe.com/internationalized/date/CalendarDate.html#comparison
You can pass the date for each cell into that.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RajaTheKing826
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants