From 3bbf9ccd8a240cd3e708839229c2c349a39bb9f3 Mon Sep 17 00:00:00 2001 From: Patrick Alvin Alcala Date: Mon, 6 Oct 2025 15:58:35 +0800 Subject: [PATCH] Added keyboard event --- src/components/Input/Input.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Input/Input.tsx b/src/components/Input/Input.tsx index 8e08856..e955bf6 100644 --- a/src/components/Input/Input.tsx +++ b/src/components/Input/Input.tsx @@ -6,12 +6,13 @@ interface Props { label?: string value: string onChange: Setter + onKeyDown?: (event: KeyboardEvent) => void } export default (props: Props) => { return ( <> - + {props.label}