import { default as React, FunctionComponent, ReactNode } from 'react'; import { BasicComponent } from '../../utils/typings'; import { EmptyAction } from './types'; export interface EmptyProps extends BasicComponent { /** * 图片,支持传入图片 URL * @default - */ image?: ReactNode /** * 图片大小,number 类型单位为 px * @default - */ imageSize: number | string /** * 图片下方的标题 * @default - */ title: ReactNode /** * 图片下方的描述文字 * @default - */ description: ReactNode /** * 组件整体大小,适配于全屏或半屏 * @default base */ size: 'small' | 'base' /** * 默认图片错误类型 * @default empty */ status: 'empty' | 'error' | 'network' /** * 可用于处理操作的一组数据 * @default [] */ actions: Array } export declare const Empty: FunctionComponent & Omit, 'title'>>;