260706_03_ENH: DateTimePicker 수정 및 TimePicker 추가
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user