@govuk-react-bjss-pttg/main
v0.10.7
Published
Styled container which aligns to topNav component, is centered, and provides top padding.
Downloads
1
Keywords
Readme
Main
Import
import Main from '@govuk-react-bjss-pttg/main';
Provides a container which aligns to the TopNav component, is centered, and provides top padding.
Note, this equivalent to 'width-container' from govuk-frontend.
- https://govuk-react.github.io/govuk-react/?path=/docs/main
- https://design-system.service.gov.uk/styles/layout/#page-wrappers
Properties
Prop | Required | Default | Type | Description
:--- | :------- | :------ | :--- | :----------
children
| | undefined
| ReactNode | Child nodes for the page being built