created:4/21/2021
updated:4/21/2021
source lines:98
comments %:12
Card
grommet-controls
3.0.1A Card-type container, all props of Box apply
Name | Description | Default | Controls | |
---|---|---|---|---|
Heading (3 properties) | ||||
imageStamp | object | { "src": "https://s3.amazonaws.com/uifaces/faces/twitter/shadeed9/128.jpg", "round": "full" } | ||
title | text | Info card | ||
level | number | 3 | ||
Content (3 properties) | ||||
Card.CardTitle (4 properties) |
Name | Description | Default | |
---|---|---|---|
ICardProps (1 properties) | |||
children | children card elements to be displayed ReactNode | - | |
BoxProps (28 properties) |
package | imports | peer |
---|---|---|
grommet ^2.15.0 | HeadingPropsHeadingBoxPropsBox | * |
react ^17.0.1 | React | * |
styled-components ^5.1.1 | ThemeContext | * |
file | imports |
---|---|
"./CardProps" | ICardPropsICardTitlePropsICardContentPropsICardActionsProps |
"./StyledCard" | StyledCard |