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-44.4.1 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.4.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.3.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.2.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.1.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-44.0.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-43.5.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-43.4.1 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-43.4.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-43.3.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-43.2.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-43.1.1 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-43.1.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-43.0.2 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-43.0.1 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-43.0.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-42.1.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
govuk_publishing_components-42.0.0 node_modules/govuk-frontend/dist/govuk/components/warning-text/macro-options.json
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