@mailstep-design-system/card
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

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>
...

Readme

Keywords

none

Package Sidebar

Install

npm i @mailstep-design-system/card

Weekly Downloads

2

Version

0.2.1

License

ISC

Unpacked Size

64.7 kB

Total Files

6

Last publish

Collaborators

  • michalkerechanyn
  • jan.jarcik.mailship