@tplc/wot
Version:
32 lines (31 loc) • 645 B
TypeScript
import type { PropType } from 'vue'
export type LoadMoreState = 'loading' | 'error' | 'finished'
export declare const loadmoreProps: {
/**
* 加载状态,可选值:'loading' | 'error' | 'finished'
*/
state: PropType<LoadMoreState>
/**
* 加载提示文案
*/
loadingText: StringConstructor
/**
* 全部加载完的提示文案
*/
finishedText: StringConstructor
/**
* 加载失败的提示文案
*/
errorText: {
type: PropType<string>
default: string
}
customStyle: {
type: PropType<string>
default: string
}
customClass: {
type: PropType<string>
default: string
}
}