0.7.1 • Published 3 years ago
@slice-and-dice/govuk-react-section-break v0.7.1
SectionBreak
Import
import SectionBreak from '@govuk-react/section-break';
Usage
Simple
<SectionBreak>Example</SectionBreak>
References
- https://design-system.service.gov.uk/styles/typography/#section-break
- https://github.com/alphagov/govuk-frontend/blob/master/src/core/_section-break.scss
Properties
Prop | Required | Default | Type | Description |
---|---|---|---|---|
level | | enum('XL' | 'XLARGE' | 'L' | 'LARGE' | 'M' | 'MEDIUM') | |||
visible | undefined | bool |
0.7.1
3 years ago