diff --git a/types/ant-design-vue.d.ts b/types/ant-design-vue.d.ts index e9639b70c..61914d2a8 100644 --- a/types/ant-design-vue.d.ts +++ b/types/ant-design-vue.d.ts @@ -20,6 +20,7 @@ import { Carousel } from './carousel'; import { Cascader } from './cascader'; import { Checkbox } from './checkbox/checkbox'; import { Col } from './grid/col'; +import { ConfigProvider } from './config-provider'; import { DatePicker } from './date-picker/date-picker'; import { Divider } from './divider'; import { Drawer } from './drawer'; @@ -86,6 +87,7 @@ export { Cascader, Checkbox, Col, + ConfigProvider, DatePicker, Divider, Dropdown, diff --git a/types/config-provider.d.ts b/types/config-provider.d.ts new file mode 100644 index 000000000..fcd2bca63 --- /dev/null +++ b/types/config-provider.d.ts @@ -0,0 +1,5 @@ +import { AntdComponent } from './component'; + +export declare class ConfigProvider extends AntdComponent { + getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement; +}