@ray-js/smart-ui-typings
Version:
@ray-js/smart-ui 智能小程序 UI 框架的类型声明文件
15 lines (14 loc) • 368 B
TypeScript
import { VantComponent } from '../base';
export interface VantEmptyProps {
/**
* 图片类型,支持传入图片 URL
*
* @default 'default'
*/
image?: 'default' | 'error' | 'network' | 'search' | string;
/**
* 图片下方的描述文字
*/
description?: string;
}
export type VantEmpty = VantComponent<VantEmptyProps>;