UNPKG

@tplc/wot

Version:

35 lines (34 loc) 788 B
import type { PropType } from 'vue' import type { LoadingProps } from '../wd-loading/types' export type LoadMoreState = 'loading' | 'error' | 'finished' export declare const loadmoreProps: { /** * 加载状态,可选值:'loading' | 'error' | 'finished' */ state: PropType<LoadMoreState> /** * 加载提示文案 */ loadingText: StringConstructor /** * 全部加载完的提示文案 */ finishedText: StringConstructor /** * 加载失败的提示文案 */ errorText: StringConstructor /** * 加载中loading组件的属性 * 参考loading组件 */ loadingProps: PropType<Partial<LoadingProps>> customStyle: { type: PropType<string> default: string } customClass: { type: PropType<string> default: string } }