Sha256: 0fbf477ffa9ad0304ed0e59a6a0cc028fed766b669666c057d52c2323b6d9ae3

Contents?: true

Size: 1.03 KB

Versions: 48

Compression:

Stored size: 1.03 KB

Contents

[
    {
        "name": "text",
        "type": "string",
        "required": true,
        "description": "If `html` is set, this is not required. Text to use within the warning text component. If `html` is provided, the `text` option will be ignored."
    },
    {
        "name": "html",
        "type": "string",
        "required": true,
        "description": "If `text` is set, this is not required. HTML to use within the warning text component. If `html` is provided, the `text` option will be ignored."
    },
    {
        "name": "iconFallbackText",
        "type": "string",
        "required": false,
        "description": "The fallback text for the icon. Defaults to `\"Warning\"`."
    },
    {
        "name": "classes",
        "type": "string",
        "required": false,
        "description": "Classes to add to the warning text."
    },
    {
        "name": "attributes",
        "type": "object",
        "required": false,
        "description": "HTML attributes (for example data attributes) to add to the warning text."
    }
]

Version data entries

48 entries across 48 versions & 2 rubygems

Version Path
govuk_publishing_components-41.1.2 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-41.1.1 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-41.1.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-41.0.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-40.1.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-40.0.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
defra_ruby_template-5.4.1 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
defra_ruby_template-5.4.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json