You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ant-design-vue/types/config-provider.d.ts

21 lines
661 B

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;
};
}