mirror of
https://gitee.com/ant-design-vue/ant-design-vue.git
synced 2024-12-02 03:58:05 +08:00
21 lines
661 B
TypeScript
21 lines
661 B
TypeScript
import { AntdComponent, AntdProps } from './component';
|
|
import { App, VNodeChild } from 'vue';
|
|
|
|
import { Locale } from './locale-provider';
|
|
|
|
export interface CSPConfig {
|
|
nonce?: string;
|
|
}
|
|
|
|
export declare class ConfigProvider extends AntdComponent {
|
|
$props: AntdProps & {
|
|
getPopupContainer?: (triggerNode: HTMLElement, dialogContext?: App | null) => HTMLElement;
|
|
getPrefixCls?: (suffixCls: string, customizePrefixCls?: string) => string;
|
|
renderEmpty?: Function | VNodeChild | JSX.Element;
|
|
csp?: CSPConfig;
|
|
autoInsertSpaceInButton?: boolean;
|
|
transformCellText?: Function | VNodeChild | JSX.Element;
|
|
locale: Locale | object;
|
|
};
|
|
}
|