mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 12:39:49 +08:00
chore: update dark image test (#41252)
This commit is contained in:
parent
7c5e4469ba
commit
12d85256a7
@ -40,7 +40,7 @@ export default function imageTest(component: React.ReactElement) {
|
||||
|
||||
const element = (
|
||||
<ConfigProvider theme={{ algorithm }}>
|
||||
<App>
|
||||
<App style={{ background: algorithm === theme.darkAlgorithm ? '#000' : '' }}>
|
||||
<StyleProvider cache={cache}>{component}</StyleProvider>
|
||||
</App>
|
||||
</ConfigProvider>
|
||||
|
Loading…
Reference in New Issue
Block a user