antd
Version:
An enterprise-class UI design language and React components implementation
8 lines (7 loc) • 466 B
TypeScript
import * as React from 'react';
export declare function withPureRenderTheme(Component: any): (props: any) => JSX.Element;
export interface BaseProps {
prefixCls?: string;
style?: React.CSSProperties;
}
export default function genPurePanel<ComponentProps extends BaseProps>(Component: any, defaultPrefixCls?: string, getDropdownCls?: null | ((prefixCls: string) => string), postProps?: (props: ComponentProps) => ComponentProps): (props: any) => JSX.Element;