import React from 'react'; export interface InputProps extends React.InputHTMLAttributes { error?: string; icon?: React.ReactNode; } export const Input = React.forwardRef( ({ className = '', error, icon, ...props }, ref) => { return (
{icon && (
{icon}
)}
); } ); Input.displayName = 'Input';