From 8e22d6507d814eeabb443def328b084abfcfd7a3 Mon Sep 17 00:00:00 2001 From: Jon Koops Date: Mon, 25 Mar 2024 13:30:32 +0100 Subject: [PATCH] fix(TextArea): remove invalid `onFocus` and `onBlur` props Closes #10192 Signed-off-by: Jon Koops --- packages/react-core/src/components/TextArea/TextArea.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/react-core/src/components/TextArea/TextArea.tsx b/packages/react-core/src/components/TextArea/TextArea.tsx index 0c870cf743d..30db54edbc7 100644 --- a/packages/react-core/src/components/TextArea/TextArea.tsx +++ b/packages/react-core/src/components/TextArea/TextArea.tsx @@ -36,10 +36,6 @@ export interface TextAreaProps extends Omit, 'onC value?: string | number; /** A callback for when the text area value changes. */ onChange?: (event: React.ChangeEvent, value: string) => void; - /** Callback function when text area is focused */ - onFocus?: (event?: React.FocusEvent) => void; - /** Callback function when text area is blurred (focus leaves) */ - onBlur?: (event?: React.FocusEvent) => void; /** Sets the orientation to limit the resize to */ resizeOrientation?: 'horizontal' | 'vertical' | 'both'; /** Custom flag to show that the text area requires an associated id or aria-label. */