10 lines
599 B
TypeScript
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;
|