From 6692940e165c2f0cd60cda334e5a2bafeb0547ec Mon Sep 17 00:00:00 2001 From: Floris List Date: Fri, 20 Dec 2024 11:19:00 +0000 Subject: [PATCH] chore: narrow types for Event types on TextField --- packages/core/src/components/TextField/TextField.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/core/src/components/TextField/TextField.tsx b/packages/core/src/components/TextField/TextField.tsx index 29ac18b44d..d4018247a3 100644 --- a/packages/core/src/components/TextField/TextField.tsx +++ b/packages/core/src/components/TextField/TextField.tsx @@ -44,10 +44,10 @@ export interface TextFieldProps extends VibeComponentProps { value: string, event: React.ChangeEvent | Pick, "target"> ) => void; - onBlur?: (event: React.FocusEvent) => void; - onFocus?: (event: React.FocusEvent) => void; - onKeyDown?: (event: React.KeyboardEvent) => void; - onWheel?: (event: React.WheelEvent) => void; + onBlur?: (event: React.FocusEvent) => void; + onFocus?: (event: React.FocusEvent) => void; + onKeyDown?: (event: React.KeyboardEvent) => void; + onWheel?: (event: React.WheelEvent) => void; debounceRate?: number; autoFocus?: boolean; disabled?: boolean;