"use client"; import { type InputHTMLAttributes } from "react"; interface InputProps extends InputHTMLAttributes { label?: string; error?: string; } export function Input({ label, error, className = "", id, ...props }: InputProps) { return (
{label && } {error &&

{error}

}
); }