From ba5052b02c441509fe1deabc597ac14e98bef296 Mon Sep 17 00:00:00 2001 From: chen_gh Date: Fri, 6 Sep 2024 17:24:21 +0800 Subject: [PATCH] feat(time-picker): add interface --- src/static-past-time-picker/interfaces.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/static-past-time-picker/interfaces.ts b/src/static-past-time-picker/interfaces.ts index cf32ad2f40..cbb0a3225a 100644 --- a/src/static-past-time-picker/interfaces.ts +++ b/src/static-past-time-picker/interfaces.ts @@ -67,7 +67,7 @@ export interface StaticPastTimePickerProps extends Omit onRangeSelect?: (dates: [Date, Date], index: number) => void; NotAvailableToday: boolean; earliestApprove: boolean; - quickOptions: { value: string; label: string }[]; + quickOptions?: { value: string; label: string }[]; } export interface RangePickerProps extends PickerProps {