0.2.0 • Published 5 years ago

@govuk-frederic/result-count-title v0.2.0

Weekly downloads
5
License
MIT
Repository
-
Last release
5 years ago

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

PropRequiredDefaultTypeDescription
children | node
count | union(number | string)
countBackgroundColor | string
countColor | string