"use client"

import { useState } from "react"
import { Calendar } from "@/components/ui/calendar"

const BasicCalendar = () => {
  const [date, setDate] = useState<Date | undefined>(new Date())

  return (
    <Calendar
      mode="single"
      selected={date}
      onSelect={setDate}
      className="rounded-md border"
    />
  )
}

export default BasicCalendar;