UNPKG

analytica-frontend-lib

Version:

Repositório público dos componentes utilizados nas plataformas da Analytica Ensino

25 lines 1.12 kB
import { InputHTMLAttributes, ReactNode } from 'react'; declare const Input: import("react").ForwardRefExoticComponent<{ /** Label text displayed above the input */ label?: string; /** Helper text displayed below the input */ helperText?: string; /** Error message displayed below the input */ errorMessage?: string; /** Size of the input */ size?: "small" | "medium" | "large" | "extra-large"; /** Visual variant of the input */ variant?: "outlined" | "underlined" | "rounded"; /** Current state of the input */ state?: "default" | "error" | "disabled" | "read-only"; /** Icon to display on the left side of the input */ iconLeft?: ReactNode; /** Icon to display on the right side of the input */ iconRight?: ReactNode; /** Additional CSS classes to apply to the input */ className?: string; /** Additional CSS classes to apply to the container */ containerClassName?: string; } & Omit<InputHTMLAttributes<HTMLInputElement>, "size"> & import("react").RefAttributes<HTMLInputElement>>; export default Input; //# sourceMappingURL=Input.d.ts.map