From 85763e568f142d328a1c163b4a3b051325681dbc Mon Sep 17 00:00:00 2001 From: Ilia Mashkov Date: Thu, 2 Apr 2026 12:45:32 +0300 Subject: [PATCH] feat(auth): add separate default input component --- .../auth/ui/DefaultInput/DefaultInput.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/features/auth/ui/DefaultInput/DefaultInput.tsx diff --git a/src/features/auth/ui/DefaultInput/DefaultInput.tsx b/src/features/auth/ui/DefaultInput/DefaultInput.tsx new file mode 100644 index 0000000..46edd3b --- /dev/null +++ b/src/features/auth/ui/DefaultInput/DefaultInput.tsx @@ -0,0 +1,19 @@ +import type { InputHTMLAttributes } from "react"; + +export type InputAttributes = InputHTMLAttributes; + +export function DefaultInputComponent({ + type, + value, + onChange, + ["aria-label"]: ariaLabel, +}: InputAttributes) { + return ( + + ); +}