import React from 'react'; interface InputProps extends React.InputHTMLAttributes { label?: string; error?: string; } export function Input({ label, error, className = '', ...props }: InputProps) { return (
{label && ( )} {error && (

{error}

)}
); }