ant-design-vue/types/config-provider.d.ts

17 lines
476 B
TypeScript
Raw Normal View History

import { AntdComponent } from './component';
import Vue from 'vue';
2019-09-28 12:45:07 +00:00
import { Locale } from './locale-provider';
2019-09-26 14:05:24 +00:00
export interface CSPConfig {
nonce?: string;
}
export declare class ConfigProvider extends AntdComponent {
getPopupContainer?: (triggerNode: HTMLElement, dialogContext?: Vue | null) => HTMLElement;
2019-09-26 14:05:24 +00:00
getPrefixCls: (suffixCls: string, customizePrefixCls?: string) => string;
renderEmpty: Function;
csp?: CSPConfig;
autoInsertSpaceInButton?: boolean;
}