From 34b8930ced924ef9d6b6b2a74d6ca92cd1f75dc4 Mon Sep 17 00:00:00 2001 From: Vula Builder Date: Sun, 26 Jul 2026 16:40:59 +0000 Subject: [PATCH] Deploy --- src/components/ui/Input.tsx | 38 +++++++++++++++++++++++++++++++++++++ 1 file changed, 38 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..0bce010 --- /dev/null +++ b/src/components/ui/Input.tsx @@ -0,0 +1,38 @@ +'use client' + +import { cn } from "@/lib/utils" +import { forwardRef } from "react" + +interface InputProps extends React.InputHTMLAttributes { + error?: string +} + +const Input = forwardRef( + ({ className, error, type, ...props }, ref) => { + return ( +
+ + {error && ( + + )} +
+ ) + } +) + +Input.displayName = "Input" + +export default Input \ No newline at end of file