Card properties
Summary
Props table
Parameter |
Type |
Default |
---|---|---|
JSX.Element | string |
/ |
|
JSX.Element | string |
/ |
|
JSX.Element | string |
/ |
|
string |
/ |
|
string |
/ |
|
string |
/ |
|
Record |
/ |
|
Record |
/ |
|
Record |
/ |
|
boolean |
/ |
|
boolean |
/ |
|
boolean |
/ |
|
string |
1px |
|
JSX.Element | string |
/ |
Props list
header
Type |
Default |
---|---|
JSX.Element | string |
/ |
Card header content
body
Type |
Default |
---|---|
JSX.Element | string |
/ |
Card body content
footer
Type |
Default |
---|---|
JSX.Element | string |
/ |
Card footer content
headerClassName
Type |
Default |
---|---|
string |
/ |
Custom classname applied on the Card header
bodyClassName
Type |
Default |
---|---|
string |
/ |
Custom classname applied on the Card body
footerClassName
Type |
Default |
---|---|
string |
/ |
Custom classname applied on the Card footer
headerProps
Type |
Default |
---|---|
Record |
/ |
Custom props applied on the Card header
bodyProps
Type |
Default |
---|---|
Record |
/ |
Custom props applied on the Card body
footerProps
Type |
Default |
---|---|
Record |
/ |
Custom props applied on the Card footer
noDivider
Type |
Default |
---|---|
boolean |
/ |
If true
, hide all dividers
noTopDivider
Type |
Default |
---|---|
boolean |
/ |
If true
, hide the top divider, between header and body
noBottomDivider
Type |
Default |
---|---|
boolean |
/ |
If true
, hide the top divider, between body and footer
dividerSize
Type |
Default |
---|---|
string |
1px |
Set the size of the top and the bottom divider
children
Type |
Default |
---|---|
JSX.Element | string |
/ |
Card content