UNPKG

xdesign-vue-next

Version:

XDesign Component for vue-next

65 lines (60 loc) 1.35 kB
/** * xdesign v1.0.6 * (c) 2023 xdesign * @license MIT */ 'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); /* unplugin-vue-components disabled */var props = { closable: Boolean, content: { type: [String, Function] }, "default": { type: [String, Function] }, disabled: Boolean, icon: { type: Function, "default": void 0 }, maxWidth: { type: [String, Number] }, shape: { type: String, "default": "square", validator: function validator(val) { if (!val) return true; return ["square", "round", "mark"].includes(val); } }, size: { type: String, "default": "medium", validator: function validator(val) { if (!val) return true; return ["small", "medium", "large"].includes(val); } }, theme: { type: String, "default": "default", validator: function validator(val) { if (!val) return true; return ["default", "primary", "warning", "danger", "success"].includes(val); } }, variant: { type: String, "default": "dark", validator: function validator(val) { if (!val) return true; return ["dark", "light", "outline", "light-outline"].includes(val); } }, onClick: Function, onClose: Function }; exports["default"] = props; //# sourceMappingURL=props.js.map