Represents the properties for the Card component.

interface ICardProps<P = IAnything> {
    AfterLabel?: any;
    BeforeLabel?: any;
    children?: any;
    className?: string;
    label?: any;
    loading: boolean;
    outlinePaper?: boolean;
    payload?: P;
    style?: any;
    sx?: any;
    transparentPaper?: boolean;
}

Type Parameters

Properties

AfterLabel?: any

The component to render after the label.

BeforeLabel?: any

The component to render before the label.

children?: any

The content of the card.

className?: string

The CSS class name for the card.

label?: any

The label for the card.

loading: boolean

Whether the card is in a loading state.

outlinePaper?: boolean

Whether to show the card with an outline paper.

payload?: P

The payload data.

style?: any

The inline style for the card.

sx?: any

The styling props for the card.

transparentPaper?: boolean

Whether to show the card with a transparent paper.