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

{error}

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