mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 02:59:04 +08:00
docs: fix use-with-next.md (#45219)
Co-authored-by: chenyuanbao@baidu.com <chenyuanbao@baidu.com>
This commit is contained in:
parent
cece6e27df
commit
e5daf772f5
@ -129,7 +129,7 @@ import React from 'react';
|
||||
import { ConfigProvider } from 'antd';
|
||||
import type { AppProps } from 'next/app';
|
||||
|
||||
import theme from './themeConfig';
|
||||
import theme from './theme/themeConfig';
|
||||
|
||||
const App = ({ Component, pageProps }: AppProps) => (
|
||||
<ConfigProvider theme={theme}>
|
||||
@ -236,7 +236,7 @@ export default theme;
|
||||
import React from 'react';
|
||||
import { Button, ConfigProvider } from 'antd';
|
||||
|
||||
import theme from './themeConfig';
|
||||
import theme from './theme/themeConfig';
|
||||
|
||||
const HomePage = () => (
|
||||
<ConfigProvider theme={theme}>
|
||||
|
@ -129,7 +129,7 @@ import React from 'react';
|
||||
import { ConfigProvider } from 'antd';
|
||||
import type { AppProps } from 'next/app';
|
||||
|
||||
import theme from './themeConfig';
|
||||
import theme from './theme/themeConfig';
|
||||
|
||||
const App = ({ Component, pageProps }: AppProps) => (
|
||||
<ConfigProvider theme={theme}>
|
||||
@ -236,7 +236,7 @@ export default theme;
|
||||
import React from 'react';
|
||||
import { Button, ConfigProvider } from 'antd';
|
||||
|
||||
import theme from './themeConfig';
|
||||
import theme from './theme/themeConfig';
|
||||
|
||||
const HomePage = () => (
|
||||
<ConfigProvider theme={theme}>
|
||||
|
Loading…
Reference in New Issue
Block a user