You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering if there was any way to apply different tileClassNames to different days given an array of data? I'm noticing when I map over the array it works but it doesn't return the new tile className until all the data is mapped over. I'm stuck on how to do this most efficiently. I'm trying to create a sort of heatmap of the data on the calendar based on dates. I hope this made sense and thank you in advance for the help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I was wondering if there was any way to apply different tileClassNames to different days given an array of data? I'm noticing when I map over the array it works but it doesn't return the new tile className until all the data is mapped over. I'm stuck on how to do this most efficiently. I'm trying to create a sort of heatmap of the data on the calendar based on dates. I hope this made sense and thank you in advance for the help.
Beta Was this translation helpful? Give feedback.
All reactions