From c2712db56e1e6734467ba8f8a3be500c032707d2 Mon Sep 17 00:00:00 2001 From: ShunJun Date: Thu, 15 Feb 2024 11:27:33 +0800 Subject: [PATCH] fix: calendar value type (#695) --- packages/react-vant/src/components/calendar/PropsType.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react-vant/src/components/calendar/PropsType.ts b/packages/react-vant/src/components/calendar/PropsType.ts index 8c2b648ba..d8a41892d 100644 --- a/packages/react-vant/src/components/calendar/PropsType.ts +++ b/packages/react-vant/src/components/calendar/PropsType.ts @@ -105,7 +105,7 @@ export interface CalendarProps extends Omit { rangePrompt?: string showConfirm?: boolean lazyRender?: boolean - value?: CalendarValue + value?: CalendarValue | null defaultValue?: any allowSameDay?: boolean showSubtitle?: boolean