'use client'; import * as React from 'react'; import { Calendar as CalendarIcon } from '@/components/ui/icons'; import { cn } from '@/lib/utils'; import { Button } from '@/components/ui/buttons'; import { Calendar } from '@/components/ui/calendar'; import { PopoverRoot as Popover, PopoverContent, PopoverTrigger } from '@/components/ui/tooltip/PopoverBase'; import { formatDate } from '@/lib'; import { type DayPickerProps } from 'react-day-picker'; export interface DatePickerProps extends Omit { date: Date; onSelect: (date: Date) => void; dateFormat?: string; placeholder?: string; } export function DatePicker({ date, onSelect, dateFormat = 'lll', placeholder = 'Pick a date' }: DatePickerProps) { return ( ); }