From 6e550347bcebeb42b193d7ebb7e8018aabb97c90 Mon Sep 17 00:00:00 2001 From: ks129 <45097959+ks129@users.noreply.github.com> Date: Mon, 8 Feb 2021 22:07:29 +0200 Subject: Change ShortText blur handler name --- src/components/InputTypes/ShortText.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/InputTypes/ShortText.tsx b/src/components/InputTypes/ShortText.tsx index 12f066e..dbf14ad 100644 --- a/src/components/InputTypes/ShortText.tsx +++ b/src/components/InputTypes/ShortText.tsx @@ -5,7 +5,7 @@ import { textInputs, invalidStyles } from "../../commonStyles"; interface ShortTextProps { handler: (event: ChangeEvent) => void, - blurHandler: (event: FocusEvent) => void, + onBlurHandler: (event: FocusEvent) => void, valid: boolean, // eslint-disable-next-line @typescript-eslint/no-explicit-any focus_ref: React.RefObject @@ -14,7 +14,7 @@ interface ShortTextProps { export default function ShortText(props: ShortTextProps): JSX.Element { return (
- +
); } -- cgit v1.2.3