import { default as React } from 'react'; import { default as IDatePickerProps } from './IDatePickerProps'; /** * DatePicker component for selecting a single date. * Features a single-month calendar view with optional presets. * * @param props {@link IDatePickerProps} - The component props * @returns The rendered DatePicker component * * @example * Basic usage * ```tsx * const [date, setDate] = useState(); * * * ``` * * @example * With inline input and a custom header * ```tsx * const [date, setDate] = useState(); * * Today} * /> * ``` * * @example * With a custom trigger and footer * ```tsx * const [date, setDate] = useState(); * * {date ? format(date, 'dd.MM.yyyy') : 'Select date'}} * footer={({ onClear }) => ( *