PromoCursed/node_modules/antd/lib/config-provider/defaultRenderEmpty.d.ts
2024-08-20 23:25:37 +04:00

9 lines
384 B
TypeScript

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;