UNPKG

design-react-kit

Version:

Componenti React per Bootstrap 5

23 lines (22 loc) 845 B
import { FC, HTMLAttributes, ReactNode } from 'react'; export interface InputContainerProps extends HTMLAttributes<HTMLElement> { wrapperClass: string; activeClass: string; extraLabelClass: string; validationTextClass: string; label: string | ReactNode | undefined; validationText: string | undefined; id: string | undefined; infoId: string | undefined; infoText: string | undefined; /** Indica che il componente ha un bottone a destra rispetto all'input */ hasButtonRight?: boolean; /** Componente per il bottone */ buttonRight?: ReactNode; /** Indica che il componente ha una icona a sinistra rispetto all'input */ hasIconLeft?: boolean; /** Componente per l'icona */ iconLeft?: ReactNode; testId?: string; } export declare const InputContainer: FC<InputContainerProps>;