@lowdefy/blocks-antd
Version:
Lowdefy Ant Design Blocks
46 lines (45 loc) • 1.24 kB
JSON
{
"properties": {
"type": "object",
"additionalProperties": false,
"properties": {
"closable": {
"type": "boolean",
"default": false,
"description": "Allow tag to be closed."
},
"color": {
"type": "string",
"description": "Color of the Tag. Preset options are success, processing, error, warning, default, blue, cyan, geekblue, gold, green, lime, magenta, orange, purple, red, volcano, or alternatively any hex color.",
"docs": {
"displayType": "color"
}
},
"title": {
"type": "string",
"description": "Content title of tag - supports html."
},
"icon": {
"type": ["string", "object"],
"description": "Name of an Ant Design Icon or properties of an Icon block to customize alert icon.",
"docs": {
"displayType": "icon"
}
}
}
},
"events": {
"type": "object",
"additionalProperties": false,
"properties": {
"onClick": {
"type": "array",
"description": "Called when Tag is clicked."
},
"onClose": {
"type": "array",
"description": "Called when Tag close icon is clicked."
}
}
}
}