@govuk-frederic/keyline

Renders a bottom border with optional inline-block and colour.

Stats

stars 🌟issues ⚠️updated 🛠created 🐣size 🏋️‍♀️
@govuk-frederic/keyline
Minified + gzip package size for @govuk-frederic/keyline in KB

Readme

Keyline

Import

  import Keyline from '@govuk-frederic/keyline';

Usage

Simple

<Keyline>
   <p>example</p>
</Keyline>

inlineBlock

<Keyline inlineBlock>
   <p>example</p>
</Keyline>

inlineBlock with orange border

<<Keyline inlineBlock borderColor="#ff9900">
   <p>example</p>
</Keyline>

Properties

Prop Required Default Type Description
borderColor `````` string
children `````` node
inlineBlock `````` bool

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.