Latest updates from IceHrmPro
This commit is contained in:
34
web/node_modules/antd/es/config-provider/context.d.ts
generated
vendored
Normal file
34
web/node_modules/antd/es/config-provider/context.d.ts
generated
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
import * as React from 'react';
|
||||
import { RenderEmptyHandler } from './renderEmpty';
|
||||
import { Locale } from '../locale-provider';
|
||||
import { SizeType } from './SizeContext';
|
||||
export interface CSPConfig {
|
||||
nonce?: string;
|
||||
}
|
||||
export interface ConfigConsumerProps {
|
||||
getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
|
||||
rootPrefixCls?: string;
|
||||
getPrefixCls: (suffixCls: string, customizePrefixCls?: string) => string;
|
||||
renderEmpty: RenderEmptyHandler;
|
||||
csp?: CSPConfig;
|
||||
autoInsertSpaceInButton?: boolean;
|
||||
locale?: Locale;
|
||||
pageHeader?: {
|
||||
ghost: boolean;
|
||||
};
|
||||
direction?: 'ltr' | 'rtl';
|
||||
space?: {
|
||||
size?: SizeType | number;
|
||||
};
|
||||
}
|
||||
export declare const ConfigContext: React.Context<ConfigConsumerProps>;
|
||||
export declare const ConfigConsumer: React.Consumer<ConfigConsumerProps>;
|
||||
declare type IReactComponent<P = any> = React.StatelessComponent<P> | React.ComponentClass<P> | React.ClassicComponentClass<P>;
|
||||
interface BasicExportProps {
|
||||
prefixCls?: string;
|
||||
}
|
||||
interface ConsumerConfig {
|
||||
prefixCls: string;
|
||||
}
|
||||
export declare function withConfigConsumer<ExportProps extends BasicExportProps>(config: ConsumerConfig): <ComponentDef>(Component: IReactComponent<any>) => React.FC<ExportProps> & ComponentDef;
|
||||
export {};
|
||||
Reference in New Issue
Block a user