"use client" import * as React from "react" import { addDays } from "date-fns" import { type DateRange } from "react-day-picker" import { Calendar, CalendarDayButton } from "@/styles/base-nova/ui/calendar" import { Card, CardContent } from "@/styles/base-nova/ui/card" export function CalendarCustomDays() { const [range, setRange] = React.useState({ from: new Date(new Date().getFullYear(), 11, 8), to: addDays(new Date(new Date().getFullYear(), 11, 8), 10), }) return ( { return date.toLocaleString("default", { month: "long" }) }, }} components={{ DayButton: ({ children, modifiers, day, ...props }) => { const isWeekend = day.date.getDay() === 0 || day.date.getDay() === 6 return ( {children} {!modifiers.outside && ( {isWeekend ? "$120" : "$100"} )} ) }, }} /> ) }