UNPKG

@minto-ai/mt-ui

Version:

UI组件库

28 lines (27 loc) 686 B
import { ExtractPropTypes, PropType } from 'vue'; declare const loadingProps: { /** * 加载动画的类型 */ readonly type: { readonly type: PropType<"spinner" | "dots">; readonly validator: (value: string) => boolean; readonly default: "spinner"; }; /** * 加载动画的大小 */ readonly size: { readonly type: NumberConstructor; readonly default: 42; }; /** * 加载时显示的文本 */ readonly text: { readonly type: StringConstructor; readonly default: ""; }; }; export type LoadingProps = ExtractPropTypes<typeof loadingProps>; export { loadingProps };