@nutui/nutui-react-taro
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
14 lines (13 loc) • 551 B
TypeScript
import { default as React, FunctionComponent, ReactNode } from 'react';
import { BasicComponent } from '../../utils/typings';
import { EmptyAction } from './index';
export interface EmptyProps extends BasicComponent {
image?: ReactNode;
imageSize: number | string;
title: ReactNode;
description: ReactNode;
size: 'small' | 'base';
status: 'empty' | 'error' | 'network';
actions: Array<EmptyAction>;
}
export declare const Empty: FunctionComponent<Partial<EmptyProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'title'>>;