npm.io
0.10.7 • Published 2 years ago

@govuk-react/main

Licence
MIT
Version
0.10.7
Deps
1
Size
11 kB
Vulns
0
Weekly
0

Main

Import

  import Main from '@govuk-react/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.

Properties

Prop Required Default Type Description
children undefined ReactNode Child nodes for the page being built