ResultCountTitle
Import
import ResultCountTitle from '@govuk-frederic/result-count-title';
Usage
Simple
<ResultCountTitle count={3}>Title</ResultCountTitle>
In black with count value 0
<ResultCountTitle count={0} countColor="black" countBackgroundColor="#dee0e2">Title</ResultCountTitle>
Properties
Prop | Required | Default | Type | Description |
---|---|---|---|---|
children |
`````` | node | ||
count |
`````` | union(number | string) | ||
countBackgroundColor |
`````` | string | ||
countColor |
`````` | string |