import * as React from "react" import { cn } from "@/lib/utils" export interface InputProps extends React.InputHTMLAttributes { error?: string } const Input = React.forwardRef( ({ className, type, error, ...props }, ref) => { return (
{error && (

{error}

)}
) } ) Input.displayName = "Input" export { Input }