@govuk-frederic/result-count

    0.2.0 • Public • Published

    ResultCount

    Import

      import ResultCount from '@govuk-frederic/result-count';

    Usage

    Simple

    <ResultCount>0</ResultCount>

    Overriding background and text colours

    <ResultCount backgroundColor="#6f777b" color="white">000</ResultCount>

    Properties

    Prop Required Default Type Description
    backgroundColor GREY_1 string
    children undefined node
    color WHITE string

    Keywords

    none

    Install

    npm i @govuk-frederic/result-count

    DownloadsWeekly Downloads

    7

    Version

    0.2.0

    License

    MIT

    Unpacked Size

    27.7 kB

    Total Files

    18

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar
    • avatar