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