UNPKG

tntd

Version:

tntd是基于 TNT Design 设计体系的 React UI 组件库,主要用于研发企业级中后台产品。

18 lines 864 B
import type { EmptyProps as AntdEmptyProps } from 'antd/lib/empty'; import React from 'react'; export * from 'antd/lib/empty'; export interface EmptyProps extends AntdEmptyProps { type?: 'empty' | 'no-result' | 'no-chart' | 'no-permission' | 'failure' | 'success' | 'offline' | '403' | '404' | '500'; size?: 'mini' | 'small' | 'middle' | 'large' | 'ultra'; locale?: { noGraphData?: string; noPermission?: string; createdSuccessfully?: string; creationFailed?: string; noNetwork?: string; noData?: string; }; } export declare const EmptyDescriptionMap: Record<NonNullable<EmptyProps['type']>, keyof NonNullable<EmptyProps['locale']> | undefined>; export declare function Empty({ className, description, size, type, locale, ...rest }: EmptyProps): React.JSX.Element; //# sourceMappingURL=empty.d.ts.map