ant-design-vue/types/config-provider.d.ts
2019-09-28 20:45:07 +08:00

16 lines
425 B
TypeScript

import { AntdComponent } from './component';
import { Locale } from './locale-provider';
export interface CSPConfig {
nonce?: string;
}
export declare class ConfigProvider extends AntdComponent {
getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
getPrefixCls: (suffixCls: string, customizePrefixCls?: string) => string;
renderEmpty: Function;
csp?: CSPConfig;
autoInsertSpaceInButton?: boolean;
}