0.10.6 • Published 7 months ago
@govuk-react/page v0.10.6
Page
Import
import Page from '@govuk-react/page';
Use this template to keep your pages consistent with the rest of GOV.UK.
- https://govuk-react.github.io/govuk-react/?path=/docs/page
- https://design-system.service.gov.uk/styles/page-template/
- https://design-system.service.gov.uk/styles/layout/#page-wrappers
Properties
Prop | Required | Default | Type | Description |
---|---|---|---|---|
beforeChildren | undefined | ReactNode | Content that needs to appear outside the main page wrapper (see main ).For example: A back link component, breadcrumbs, phase banner component | |
children | undefined | ReactNode | Page contents | |
container | Page.WidthContainer | ElementType | Override the default page container component.beforeChildren and children (wrapped in main ) will be placed inside this component. | |
footer | undefined | ReactNode | Override the default page footer component. | |
header | <TopNav /> | ReactNode | Override the default page header component. | |
id | content | string | ID for page content | |
main | Page.Main | ElementType | Override the default wrapper component for main page content |
0.10.6
7 months ago
0.10.5
1 year ago
0.10.4
2 years ago
0.10.2
2 years ago
0.10.3
2 years ago
0.10.1
2 years ago
0.10.0
3 years ago
0.9.1
3 years ago
0.9.0
3 years ago
0.8.0
3 years ago
0.7.1
5 years ago
0.7.0
5 years ago
0.6.0
5 years ago
0.6.0-rc.1
5 years ago
0.6.0-alpha.4
5 years ago
0.6.0-alpha.1
5 years ago
0.6.0-alpha.0
5 years ago
0.5.1
5 years ago
0.5.0
5 years ago
0.4.0
5 years ago
0.3.1
6 years ago
0.3.0-prerelease
6 years ago