UNPKG

@nutui/nutui-react-taro

Version:

京东风格的轻量级移动端 React 组件库,支持一套代码生成 H5 和小程序

15 lines (14 loc) 630 B
import React, { FunctionComponent, ReactNode } from 'react'; import { BasicComponent } from "../../utils/typings"; import { type EmptyAction, type EmptySize, type EmptyStatus } from "../../types"; export type { EmptyAction, EmptySize, EmptyStatus } from "../../types"; export interface EmptyProps extends BasicComponent { image?: ReactNode; imageSize: number | string; title: ReactNode; description: ReactNode; size: EmptySize; status: EmptyStatus; actions: Array<EmptyAction>; } export declare const Empty: FunctionComponent<Partial<EmptyProps> & Omit<React.HTMLAttributes<HTMLDivElement>, 'title'>>;