import type { InputHTMLAttributes, ReactNode } from 'react'; import { cn } from '../../lib/cn'; export interface InputProps extends Omit, 'prefix'> { label?: string; hint?: string; error?: string; /** Leading adornment, e.g. "₹". */ prefix?: ReactNode; /** Trailing adornment, e.g. "/ year". */ suffix?: ReactNode; /** Class for the outer label wrapper. */ className?: string; } /** Labeled text/number input with optional prefix, suffix, hint and error. */ export function Input({ label, hint, error, prefix, suffix, required, className, disabled, ...rest }: InputProps) { return ( ); }