From 4095efe04a3f19065a29427f59d83afe11052b61 Mon Sep 17 00:00:00 2001 From: Ugo Stephant Date: Mon, 13 Mar 2023 13:19:46 +0100 Subject: [PATCH] refactor(react): function type typo --- packages/react/lib/DateField/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/lib/DateField/index.d.ts b/packages/react/lib/DateField/index.d.ts index 8a4b9b207..cddd79db5 100644 --- a/packages/react/lib/DateField/index.d.ts +++ b/packages/react/lib/DateField/index.d.ts @@ -32,10 +32,10 @@ declare interface DateFieldProps extends React.ComponentPropsWithRef { valid?: boolean; value?: Date; weekDaysName?: FixedArray; - animateMenu?: ( + animateMenu?( menu: ReactNode | JSX.Element, opts: { opened: boolean } - ) => ReactNode | JSX.Element; + ): ReactNode | JSX.Element; onBlur?(e: Event): void; onChange?(props: { value: Date; valid: boolean }): void; onFocus?(e: Event): void;