@mailstep-design-system/card
v0.2.1
Published
## Props
Downloads
38
Keywords
Readme
Card
Props
| Component | Type | Default | Description | | --------------- | :--------: | :-----: | :--------------------------------------------- | | children | React.Node | | | | block | boolean | | Card has display: block, otherwise inline-flex | | hasBorder | boolean | true | Card has a slim border | | backgroundColor | string | initial | Card with background color from theme |
Example
import Card from '@mailstep-design-system/card'
...
<Card block hasBorder backgroundColor="red2">
Lorem ipsum
</Card>
...