0.10.7 • Published 4 months ago
@govuk-react/error-summary v0.10.7
ErrorSummary
Import
import ErrorSummary from '@govuk-react/error-summary';
Use this component at the top of a page to summarise any errors a user has made.
- https://govuk-react.github.io/govuk-react/?path=/docs/error-summary
- https://design-system.service.gov.uk/components/error-summary/
Properties
Prop | Required | Default | Type | Description |
---|---|---|---|---|
description | undefined | string | Optional description of the errors | |
errors | [] | { targetName?: string; text?: string; }[] | Array of errors with text and target element name to scroll into view when clicked | |
heading | There is a problem | string | Heading text | |
onHandleErrorClick | undefined | (targetName: string) => void | onClick function to scroll the target element into view |
0.10.7
4 months ago
0.10.6
12 months ago
0.10.5
2 years 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
6 years ago
0.6.0
6 years ago
0.6.0-rc.1
6 years ago
0.6.0-alpha.4
6 years ago
0.6.0-alpha.1
6 years ago
0.6.0-alpha.0
6 years ago
0.5.1
6 years ago
0.5.0
6 years ago
0.4.0
6 years ago
0.3.1
6 years ago
0.3.0
6 years ago
0.2.12
6 years ago
0.2.10
6 years ago
0.2.9
6 years ago
0.2.8
6 years ago
0.2.7
6 years ago
0.2.6
6 years ago
0.2.4
6 years ago