PromoCursed/node_modules/antd/es/config-provider/defaultRenderEmpty.d.ts

9 lines
384 B
TypeScript
Raw Normal View History

2024-08-20 23:25:37 +04:00
import React from 'react';
type ComponentName = 'Table' | 'Table.filter' | 'List' | 'Select' | 'TreeSelect' | 'Cascader' | 'Transfer' | 'Mentions';
interface EmptyProps {
componentName?: ComponentName;
}
declare const DefaultRenderEmpty: React.FC<EmptyProps>;
export type RenderEmptyHandler = (componentName?: ComponentName) => React.ReactNode;
export default DefaultRenderEmpty;