import { PropType } from 'vue'; export type LoadingMode = 'circle' | 'flower' export const loadingProps = { // 动画类型 // circle 圆圈 flower 花朵形状 mode: { type: String as PropType, default: 'circle' }, // 是否显示 show: { type: Boolean, default: true }, // 是否显示加载动画 animation: { type: Boolean, default: true }, // 圆圈颜色 color: { type: String, default: '' }, // 图标大小 size: { type: Number, default: 34 } }