From 32c355f2a7e0b6ca6592b956e8174d217766bc5c Mon Sep 17 00:00:00 2001 From: Jonas Dellinger Date: Sun, 5 Jun 2022 15:10:16 +0200 Subject: [PATCH] fix(textfield): correct type for onChange callback --- src/deck-components/TextField.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deck-components/TextField.tsx b/src/deck-components/TextField.tsx index 868a5dd..16a262a 100644 --- a/src/deck-components/TextField.tsx +++ b/src/deck-components/TextField.tsx @@ -18,7 +18,7 @@ export interface TextFieldProps { focusOnMount?: boolean; tooltip?: string; inlineControls?: ReactNode; - onChange?(event: ChangeEventHandler): void; + onChange?: ChangeEventHandler; value?: string; }