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.

15 lines
415 B

import React from 'react';
import { ConfigProvider } from 'antd';
import { ApplyPluginsType } from 'umi';
import { plugin } from '../core/umiExports';
export function rootContainer(container) {
const runtimeAntd = plugin.applyPlugins({
key: 'antd',
type: ApplyPluginsType.modify,
initialValue: {},
});
return React.createElement(ConfigProvider, {...{{{ config }}},...runtimeAntd}, container);
}