mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-01 03:50:26 -04:00
- Deleted /stylesheets folder - Removed sass build from gulpfile - Changed gov links to usa links - Changed other govuk styles, like breadcrumbs - Changed name of uk_components file to us_components - Fixed a few tests that broke on account of the changes
37 lines
1.2 KiB
JSON
37 lines
1.2 KiB
JSON
[
|
|
{
|
|
"name": "text",
|
|
"type": "string",
|
|
"required": true,
|
|
"description": "If `html` is set, this is not required. Text to use within the error message. If `html` is provided, the `text` argument will be ignored."
|
|
},
|
|
{
|
|
"name": "html",
|
|
"type": "string",
|
|
"required": true,
|
|
"description": "If `text` is set, this is not required. HTML to use within the error message. If `html` is provided, the `text` argument will be ignored."
|
|
},
|
|
{
|
|
"name": "id",
|
|
"type": "string",
|
|
"required": false,
|
|
"description": "Id attribute to add to the error message span tag."
|
|
},
|
|
{
|
|
"name": "classes",
|
|
"type": "string",
|
|
"required": false,
|
|
"description": "Classes to add to the error message span tag."
|
|
},
|
|
{
|
|
"name": "attributes",
|
|
"type": "object",
|
|
"required": false,
|
|
"description": "HTML attributes (for example data attributes) to add to the error message span tag"
|
|
},
|
|
{
|
|
"name": "visuallyHiddenText",
|
|
"type": "string",
|
|
"description": "A visually hidden prefix used before the error message. Defaults to \"Error\"."
|
|
}
|
|
] |