fix(textfield): correct type for onChange callback

This commit is contained in:
Jonas Dellinger
2022-06-05 15:10:16 +02:00
parent 747d70dcca
commit 32c355f2a7

View File

@@ -18,7 +18,7 @@ export interface TextFieldProps {
focusOnMount?: boolean;
tooltip?: string;
inlineControls?: ReactNode;
onChange?(event: ChangeEventHandler<HTMLInputElement>): void;
onChange?: ChangeEventHandler<HTMLInputElement>;
value?: string;
}