UNPKG

element-plus

Version:

A Component Library for Vue 3

59 lines (55 loc) 1.18 kB
'use strict'; var runtime = require('../../../utils/vue/props/runtime.js'); var size = require('../../../constants/size.js'); const tagProps = runtime.buildProps({ /** * @description type of Tag */ type: { type: String, values: ["primary", "success", "info", "warning", "danger"], default: "primary" }, /** * @description whether Tag can be removed */ closable: Boolean, /** * @description whether to disable animations */ disableTransitions: Boolean, /** * @description whether Tag has a highlighted border */ hit: Boolean, /** * @description background color of the Tag */ color: String, /** * @description size of Tag */ size: { type: String, values: size.componentSizes }, /** * @description theme of Tag */ effect: { type: String, values: ["dark", "light", "plain"], default: "light" }, /** * @description whether Tag is rounded */ round: Boolean }); const tagEmits = { close: (evt) => evt instanceof MouseEvent, click: (evt) => evt instanceof MouseEvent }; exports.tagEmits = tagEmits; exports.tagProps = tagProps; //# sourceMappingURL=tag.js.map