From d97543538ee36530f14af416095536a00b4096f5 Mon Sep 17 00:00:00 2001 From: Avan Date: Tue, 23 Jul 2024 18:21:24 +0800 Subject: [PATCH] refactor: title boolean type only support false --- src/components/calendar-picker-view/calendar-picker-view.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/calendar-picker-view/calendar-picker-view.tsx b/src/components/calendar-picker-view/calendar-picker-view.tsx index f682e0d13a..f63ea80378 100644 --- a/src/components/calendar-picker-view/calendar-picker-view.tsx +++ b/src/components/calendar-picker-view/calendar-picker-view.tsx @@ -41,7 +41,7 @@ export type CalendarPickerViewRef = { } export type CalendarPickerViewProps = { - title?: React.ReactNode | boolean + title?: React.ReactNode | false confirmText?: string weekStartsOn?: 'Monday' | 'Sunday' renderTop?: (date: Date) => React.ReactNode