From 02a2416b8f8cf3f9df65d5724a8a9eb06738a6c7 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Mon, 27 Jul 2026 17:10:25 +0000 Subject: [PATCH] Deploy --- src/components/ui/Input.tsx | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..f8b2c85 --- /dev/null +++ b/src/components/ui/Input.tsx @@ -0,0 +1,26 @@ +'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