UNPKG

digitalmarketplace-frontend

Version:

Digital Marketplace Frontend contains assets and components used in Digital Marketplace projects

51 lines (50 loc) 1.75 kB
[ { "name": "type", "type": "string", "required": true, "description": "Defines which type of alert will be rendered. The options are error (red), notice (blue) and success (green)." }, { "name": "titleText", "type": "string", "required": true, "description": "Message of the title heading element. If `titleHtml` is provided, the `titleText` argument is not required and will be ignored." }, { "name": "titleHtml", "type": "string", "required": true, "description": "Message of the title heading element rendered as html/safe. If `titleHtml` is provided, the `titleText` argument is not required and will be ignored." }, { "name": "headingLevel", "type": "integer", "required": false, "description": "The level of the heading element of the title, default is 2." }, { "name": "text", "type": "string", "required": true, "description": "Text message below the title heading element. If `html` is provided, the `text` argument is not required and will be ignored." }, { "name": "html", "type": "string", "required": true, "description": "HTML message below the title heading element. If `html` is provided, the `text` argument is not required and will be ignored." }, { "name": "classes", "type": "string", "required": false, "description": "Classes to add to the alert's div container." }, { "name": "attributes", "type": "object", "required": false, "description": "HTML attributes to add to the alert's div container." } ]