260706_03_ENH: DateTimePicker 수정 및 TimePicker 추가

This commit is contained in:
2026-07-06 15:44:35 +09:00
parent 99e7acf584
commit 6a2aa2088c
7 changed files with 194 additions and 23 deletions

View File

@@ -12,12 +12,14 @@ type CalendarSingleProps = CalendarBaseProps & {
mode: "single";
selected?: Date;
onSelect?: (date: Date | undefined) => void;
initialFocus?: boolean;
};
type CalendarRangeProps = CalendarBaseProps & {
mode: "range";
selected?: CalendarDateRange;
onSelect?: (range: CalendarDateRange | undefined) => void;
initialFocus?: boolean;
};
export type CalendarProps = CalendarSingleProps | CalendarRangeProps;