π¨Design & Customizations
<div className="daysGrid">
{month.weeks.map((week) => {
return week.days.map((day) => {
return (
<div
style={{
opacity: day.isInCurrentMonth ? "1" : "0.5",
backgroundColor: day.isToday ? "yellow" : "white",
color: day.isWeekend ? "red" : "black",
}}
{...register(month, day)}
>
{day.number}
</div>
);
});
})}Last updated