design-react-kit
Version:
Componenti React per Bootstrap 5
39 lines (38 loc) • 1.37 kB
TypeScript
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;
/** 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;
/** La card contiene un'immagine */
image?: boolean;
/** La card è di tipo banner */
banner?: boolean;
/** La card è di tipo profile */
profile?: boolean;
/** La card è inline */
inline?: boolean;
/** La card è inline-reverse */
inlineReverse?: boolean;
/** La card è inline-mini */
inlineMini?: boolean;
/** La card è arrotondata */
rounded?: boolean;
/** La card è full height */
fullHeight?: boolean;
/** La card ha un bordo */
border?: boolean;
/** La card ha un bordo di estremità */
borderTop?: boolean;
/** La card ha un bordo */
shadow?: 'sm' | 'lg' | 'normal' | null;
testId?: string;
}
export declare const Card: FC<CardProps>;