@govuk-frederic/keyline
v0.2.0
Published
Renders a bottom border with optional inline-block and colour.
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 |
