birdpaper-ui
Version:
一个通用的 vue3 UI组件库。A common vue3 UI component library.
22 lines (21 loc) • 548 B
JavaScript
;
const vue = require("vue");
const birdpaperIcon = require("birdpaper-icon");
const _sfc_main = vue.defineComponent({
name: "Spin",
props: {
/** 是否开启加载 Loading or not */
loading: { type: Boolean, default: false },
/** 加载提示文字 The loading tip text */
tip: { type: String, default: "" }
},
components: { IconLoader4Line: birdpaperIcon.IconLoader4Line },
setup(props, { slots }) {
const name = "bp-spin";
return {
name,
slots
};
}
});
module.exports = _sfc_main;