import { format } from 'date-fns'
import { Calendar as CalendarIcon } from 'lucide-react'
import * as React from 'react'
import { Button } from '@/components/ui/button'
import { Calendar } from '@/components/ui/calendar'
} from '@/components/ui/popover'
import { cn } from '@/lib/utils'
export default function DatePickerDemo() {
const [date, setDate] = React.useState<Date>()
'w-[280px] justify-start text-left font-base',
!date && 'text-muted-foreground',
<CalendarIcon className="mr-2 h-4 w-4 text-text" />
<span className="text-text">Pick a date</span>
<PopoverContent className="w-auto !border-0 p-0">