UNPKG

birdpaper-ui

Version:

一个通用的 vue3 UI组件库。A common vue3 UI component library.

28 lines (27 loc) 655 B
"use strict"; const birdpaperIcon = require("birdpaper-icon"); const vue = require("vue"); const _sfc_main = vue.defineComponent({ name: "Empty", props: { /** 图标 */ icon: { type: Object, default: birdpaperIcon.IconInbox2Line }, /** 描述文字 */ description: { type: String, default: "暂无数据" } }, components: { IconInbox2Line: birdpaperIcon.IconInbox2Line }, emits: ["click"], setup: function() { const name = "bp-empty"; const cls = vue.computed(() => { let clsName; clsName = [name]; return clsName; }); return { name, cls }; } }); module.exports = _sfc_main;