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

21 lines
661 B
TypeScript
Raw Normal View History

2020-08-31 06:59:56 +00:00
import { AntdComponent, AntdProps } from './component';
import { App, VNodeChild } 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 {
2020-08-31 06:59:56 +00:00
$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;
};
}