UNPKG

design-react-kit

Version:

Componenti React per Bootstrap 5

25 lines (24 loc) 1.13 kB
import { FC, HTMLAttributes, ElementType, Ref } from 'react'; import { CSSModule } from 'reactstrap/types/lib/utils'; export interface CardProps extends HTMLAttributes<HTMLElement> { /** Utilizzarlo in caso di utilizzo di componenti personalizzati */ tag?: ElementType; /** Utilizzarlo quando si passa `a` a `tag` per ottenere una special card cliccabile */ href?: string; /** Classi aggiuntive da usare per il componente Card */ className?: string; /** Da utilizzare per impostare un riferimento all'elemento DOM */ innerRef?: Ref<HTMLElement>; /** Oggetto contenente la nuova mappatura per le classi CSS. */ cssModule?: CSSModule; /** Abilita la versione teaser della Card */ teaser?: boolean; /** Quando attivo distanzia la Card nella versione mobile */ spacing?: boolean; /** Quando attivo rimuove il componente contenitore della carta. Utile per card multiple nello stesso contenitore */ noWrapper?: boolean; /** Classi aggiuntive per l'elemento contenitore */ wrapperClassName?: string; testId?: string; } export declare const Card: FC<CardProps>;