import * as React from 'react'; import { SmileOutlined } from '@ant-design/icons'; import ConfigProvider from '..'; import { render } from '../../../tests/utils'; import Button from '../../button'; import Divider from '../../divider'; describe('ConfigProvider.DynamicTheme', () => { beforeEach(() => { Array.from(document.querySelectorAll('style')).forEach((style) => { style.parentNode?.removeChild(style); }); }); it('customize primary color', () => { render(