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