API
DCardProps
interface DCardProps extends React.HTMLAttributes<HTMLDivElement> {
dBorder?: boolean;
dShadow?: boolean | 'hover';
dActions?: React.ReactNode[];
}
| Property |
Description |
Default |
Version |
| dBorder |
Whether to display the border |
true |
|
| dShadow |
Whether to show shadow |
'false' |
|
| dActions |
Set button group |
- |
|
interface DCardHeaderProps extends React.HTMLAttributes<HTMLDivElement> {
dAction?: React.ReactNode;
}
| Property |
Description |
Default |
Version |
| dAction |
Set button |
- |
|
DCardContentProps
type DCardContentProps = React.HTMLAttributes<HTMLDivElement>;
| Property |
Description |
Default |
Version |