diff --git a/src/components/ui/Input.tsx b/src/components/ui/Input.tsx new file mode 100644 index 0000000..e9b7031 --- /dev/null +++ b/src/components/ui/Input.tsx @@ -0,0 +1,27 @@ +'use client' + +import { cn } from "@/lib/utils" + +interface InputProps extends React.InputHTMLAttributes { + label?: string + error?: string +} + +export default function Input({ className, label, error, ...props }: InputProps) { + return ( +
+ {label && ( + + )} + + {error &&

{error}

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