From a8d951f04a5d39b718b2efd12b31d2e49df47ce6 Mon Sep 17 00:00:00 2001 From: jaehoonkim-dev <117634924+jaehoonkim-dev@users.noreply.github.com> Date: Mon, 5 Feb 2024 14:25:50 +0900 Subject: [PATCH] chore: type in PickerPropsWithMultiple type: rename 'dates' to 'dateString' in onChange parameter. (#47343) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 김재훈 --- components/date-picker/generatePicker/interface.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/date-picker/generatePicker/interface.ts b/components/date-picker/generatePicker/interface.ts index ec3961929a..aa74c9a33f 100644 --- a/components/date-picker/generatePicker/interface.ts +++ b/components/date-picker/generatePicker/interface.ts @@ -86,6 +86,6 @@ export type PickerPropsWithMultiple< React.RefAttributes & { defaultValue?: ValueType | null; value?: ValueType | null; - onChange?: (date: ValueType, dates: string | string[]) => void; + onChange?: (date: ValueType, dateString: string | string[]) => void; onOk?: (date: ValueType) => void; };