"use client";

import { Calendar } from "@/components/ui/calendar";

export function SingleCalendar({
  className,
  selected,
  onSelect
}: {
  className?: string;
  initialFocus?: boolean;
  mode?: "single";
  selected?: Date;
  onSelect?: (date: Date | undefined) => void;
}) {
  return (
    <Calendar
      mode="single"
      selected={selected}
      onSelect={onSelect}
      className={className ?? "rounded-md border"}
    />
  );
}
