@opensig/opendesign
Version:
38 lines (37 loc) • 650 B
JavaScript
import { layerProps } from "../layer/types.mjs";
const { maskClose, ...extractProps } = layerProps;
const loadingProps = {
...extractProps,
/**
* @zh-CN loading文本
* @en-US loading text
*/
label: {
type: String
},
/**
* @zh-CN 加载尺寸
* @en-US loading size
*/
size: {
type: String,
default: "small"
},
/**
* @zh-CN 自定义loading图标
* @en-US Custom loading icon
*/
icon: {
type: Object
},
/**
* @zh-CN 自定义loading图标是否旋转
* @en-US Whether the custom loading icon is rotating
*/
iconRotating: {
type: Boolean
}
};
export {
loadingProps
};