UNPKG

design-react-kit

Version:

Componenti React per Bootstrap 5

20 lines (19 loc) 734 B
import { FC, HTMLAttributes } from 'react'; export interface DimmerProps extends HTMLAttributes<HTMLElement> { /** Il nome dell'icona da mostrare */ icon?: string; /** Le varianti di colore definite in Bootstrap Italia */ color?: 'primary' | 'secondary'; /** Classi aggiuntive da usare per il componente Dimmer */ className?: string; /** Mostra il wrapper */ show?: boolean; /** * Classi aggiuntive da usare per il componente contenitore del Dimmer * Per replicare il comportamento precedente, in cui `className` veniva applicato anche al wrapper, * passare `true`. * */ wrapperClassName?: string | true; testId?: string; } export declare const Dimmer: FC<DimmerProps>;