diff --git a/src/components/ui/Input.tsx b/src/components/ui/Input.tsx new file mode 100644 index 0000000..9a47712 --- /dev/null +++ b/src/components/ui/Input.tsx @@ -0,0 +1,28 @@ +'use client' + +import { cn } from "@/lib/utils" +import { InputHTMLAttributes, forwardRef } from "react" + +interface InputProps extends InputHTMLAttributes { + error?: boolean +} + +const Input = forwardRef( + ({ className, error, type = "text", ...props }, ref) => { + return ( + + ) + } +) +Input.displayName = "Input" + +export default Input \ No newline at end of file