Browse Source
docs: Update docs (#43132)
Co-authored-by: yeyulin <miraiwhite27@gmail.com>
pull/43133/head
白飞飞
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
4 additions and
4 deletions
-
docs/react/customize-theme.en-US.md
-
docs/react/customize-theme.zh-CN.md
|
|
@ -425,8 +425,8 @@ Then, you just need to import this file into the `pages/_app.tsx` file: |
|
|
|
```tsx |
|
|
|
import { StyleProvider } from '@ant-design/cssinjs'; |
|
|
|
import type { AppProps } from 'next/app'; |
|
|
|
import '../public/antd.min.css'; |
|
|
|
import '../styles/globals.css'; // add this line |
|
|
|
import '../public/antd.min.css'; // add this line |
|
|
|
import '../styles/globals.css'; |
|
|
|
|
|
|
|
export default function App({ Component, pageProps }: AppProps) { |
|
|
|
return ( |
|
|
|
|
|
@ -421,8 +421,8 @@ fs.writeFileSync(outputPath, css); |
|
|
|
```tsx |
|
|
|
import { StyleProvider } from '@ant-design/cssinjs'; |
|
|
|
import type { AppProps } from 'next/app'; |
|
|
|
import '../public/antd.min.css'; |
|
|
|
import '../styles/globals.css'; // 添加这行 |
|
|
|
import '../public/antd.min.css'; // 添加这行 |
|
|
|
import '../styles/globals.css'; |
|
|
|
|
|
|
|
export default function App({ Component, pageProps }: AppProps) { |
|
|
|
return ( |
|
|
|