From 3b0167c106df45c1350bdfd6c5ab2423933c2539 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Sat, 27 Jun 2026 09:51:14 +0000 Subject: [PATCH] Deploy --- src/components/ui/Input.tsx | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/components/ui/Input.tsx diff --git a/src/components/ui/Input.tsx b/src/components/ui/Input.tsx new file mode 100644 index 0000000..0fb05a3 --- /dev/null +++ b/src/components/ui/Input.tsx @@ -0,0 +1,27 @@ +'use client' + +import { cn } from "@/lib/utils" + +interface InputProps extends React.InputHTMLAttributes { + label?: string + error?: string +} + +export default function Input({ label, error, className, ...props }: InputProps) { + return ( +
+ {label && ( + + )} + + {error &&

{error}

} +
+ ) +} \ No newline at end of file