import { forwardRef, InputHTMLAttributes } from 'react';
import { cn } from '@/lib/utils';
interface InputProps extends InputHTMLAttributes {
label?: string;
error?: string;
}
export const Input = forwardRef(
({ className, label, error, ...props }, ref) => {
return (
{label &&
}
{error &&
{error}
}
);
}
);
Input.displayName = 'Input';