birdpaper-ui
Version:
一个通用的 vue3 UI组件库。A common vue3 UI component library.
29 lines (28 loc) • 617 B
JavaScript
import { IconInbox2Line } from "birdpaper-icon";
import { defineComponent, computed } from "vue";
const _sfc_main = defineComponent({
name: "Empty",
props: {
/** 图标 */
icon: { type: Object, default: IconInbox2Line },
/** 描述文字 */
description: { type: String, default: "暂无数据" }
},
components: { IconInbox2Line },
emits: ["click"],
setup: function() {
const name = "bp-empty";
const cls = computed(() => {
let clsName;
clsName = [name];
return clsName;
});
return {
name,
cls
};
}
});
export {
_sfc_main as default
};