Components

Card

<Card imgSrc bgColor label width height margin />

Constructor

# <Card imgSrc bgColor label width height margin />

Component to create a card

PropTypes:
Name Type Required Description Default
imgSrc string No
bgColor string No
label string No
width string No
height string No
margin string No
Parameters:
Name Type Description
imgSrc string

path of the svg icon.

bgColor string

background-color of the card.

label string

label of the icon.

width string

width of the icon.

height string

height of the icon.

View Source Components/Card.jsx, line 5

a card with an icon.

ReactElement