import React from "react"; import dayjs from "@calcom/dayjs"; import { classNames } from "@calcom/lib"; type Props = { days: dayjs.Dayjs[]; containerNavRef: React.RefObject; }; export function DateValues({ days, containerNavRef }: Props) { return (
{days.map((day) => { const isToday = dayjs().isSame(day, "day"); return ( ); })}
{days.map((day) => { const isToday = dayjs().isSame(day, "day"); return (
{day.format("ddd")}{" "} {day.format("DD")}
); })}
); }