UNPKG

@tplc/wot

Version:

35 lines (34 loc) 766 B
import type { ExtractPropTypes } from 'vue' export type LoadingType = 'outline' | 'ring' export declare const loadingProps: { /** * 加载指示器类型,可选值:'outline' | 'ring' */ type: { type: import('vue').PropType<LoadingType> default: LoadingType } /** * 设置加载指示器颜色 */ color: { type: import('vue').PropType<string> default: string } /** * 设置加载指示器大小 */ size: { type: (NumberConstructor | StringConstructor)[] default: string } customStyle: { type: import('vue').PropType<string> default: string } customClass: { type: import('vue').PropType<string> default: string } } export type LoadingProps = ExtractPropTypes<typeof loadingProps>