fix: no ConfigProvider's TypeScript definition (#1143)
parent
f58cea1dff
commit
1ad01d23be
|
@ -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,
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
import { AntdComponent } from './component';
|
||||
|
||||
export declare class ConfigProvider extends AntdComponent {
|
||||
getPopupContainer?: (triggerNode: HTMLElement) => HTMLElement;
|
||||
}
|
Loading…
Reference in New Issue