Sha256: 0fbf477ffa9ad0304ed0e59a6a0cc028fed766b669666c057d52c2323b6d9ae3

Contents?: true

Size: 1.03 KB

Versions: 46

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

46 entries across 46 versions & 2 rubygems

Version Path
govuk_publishing_components-45.7.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-45.6.1 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-45.6.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-45.5.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-45.4.1 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-45.4.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-45.3.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-45.2.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-45.1.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-45.0.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.11.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.10.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.9.1 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.9.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.8.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.7.1 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.7.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.6.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.5.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.4.2 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json