From 2d82da9c03f968929830cd046486870471f54fb9 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Tue, 28 Jul 2026 12:39:42 +0000 Subject: [PATCH] Deploy --- src/components/ui/Input.tsx | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 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..f03eb7b --- /dev/null +++ b/src/components/ui/Input.tsx @@ -0,0 +1,30 @@ +'use client' + +import { cn } from "@/lib/utils" +import React from "react" + +interface InputProps extends React.InputHTMLAttributes { + error?: string +} + +export default function Input({ + className, + error, + ...props +}: InputProps) { + return ( +
+ + {error && ( +

{error}

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