diff --git a/src/components/ui/Input.tsx b/src/components/ui/Input.tsx new file mode 100644 index 0000000..6551b79 --- /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 { + label?: string + error?: string +} + +export default function Input({ label, error, className, ...props }: InputProps) { + return ( +
+ {label && } + + {error &&

{error}

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