0.7.1 • Published 3 years ago
@slice-and-dice/govuk-react-panel v0.7.1
Panel
Import
import Panel from '@govuk-react/panel';
Usage
Simple
<Panel title="Application complete" />
Panel with header and HTML body
<Panel title="Application complete">
Your reference number<br />
<strong>HDJ2123F</strong>
</Panel>
References:
Properties
Prop | Required | Default | Type | Description |
---|---|---|---|---|
children | undefined | node | Panel body text | |
title | true | | string | Panel title text |
0.7.1
3 years ago