From 00dcf4e09addf9d367e71310a9a79844da2ae7d2 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Thu, 4 Jun 2026 09:17:03 +0000 Subject: [PATCH] Deploy --- src/components/ui/Input.tsx | 24 ++++++++++++++++++++++++ 1 file changed, 24 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..97c19be --- /dev/null +++ b/src/components/ui/Input.tsx @@ -0,0 +1,24 @@ +'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