@mijadesign/mjui-react-taro
Version:
京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序
14 lines (13 loc) • 559 B
TypeScript
import React, { FunctionComponent, ReactNode } from 'react';
import { BasicComponent } from '../../utils/typings';
import { EmptyAction } from '../../packages/empty/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'>>;