@govuk-react-bjss-pttg/panel
v0.10.7
Published
Styled panel accepting a heading string and an array of body text as strings or mark-up.
Downloads
4
Keywords
Readme
Panel
Import
import Panel from '@govuk-react-bjss-pttg/panel';
The panel component is a visible container used on confirmation or results pages to highlight important content.
- https://govuk-react.github.io/govuk-react/?path=/docs/panel
- https://design-system.service.gov.uk/components/panel/
Properties
Prop | Required | Default | Type | Description
:--- | :------- | :------ | :--- | :----------
children
| | undefined
| ReactNode | Panel body text
title
| true | | string | Panel title text