PromoCursed/node_modules/antd/lib/_util/PurePanel.d.ts
2024-08-20 23:25:37 +04:00

10 lines
599 B
TypeScript

import * as React from 'react';
import type { AnyObject } from './type';
export declare function withPureRenderTheme<T extends AnyObject = AnyObject>(Component: React.FC<T>): (props: T) => React.JSX.Element;
export interface BaseProps {
prefixCls?: string;
style?: React.CSSProperties;
}
declare const genPurePanel: <ComponentProps extends BaseProps = BaseProps>(Component: any, defaultPrefixCls?: string, getDropdownCls?: null | ((prefixCls: string) => string), postProps?: (props: ComponentProps) => ComponentProps) => (props: AnyObject) => React.JSX.Element;
export default genPurePanel;