import React from "react"; import { addMonths, isSameMonth } from "date-fns"; import { DayPicker } from "react-day-picker"; export function Controlled() { const today = new Date(); const nextMonth = addMonths(new Date(), 1); const [month, setMonth] = React.useState(nextMonth); return (
); }