0.2.0 • Published 5 years ago
@govuk-frederic/card v0.2.0
Card
Import
import Card from '@govuk-frederic/card';
Usage
Simple
<Card>Example</Card>
Properties
Prop | Required | Default | Type | Description |
---|---|---|---|---|
accentColor | undefined | string | color for bottom border accent | |
backgroundColor | WHITE | string | color for the background | |
centered | false | bool | flag to indicate content should be centered | |
children | true | | node | ||
topBorder | false | bool | flag to indicate that top of the card should have a single-pixel grey border |
0.2.0
5 years ago