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