Browse Source

docs: Update docs (#43132)

Co-authored-by: yeyulin <miraiwhite27@gmail.com>
pull/43133/head
白飞飞 1 year ago
committed by GitHub
parent
commit
480e8ae603
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      docs/react/customize-theme.en-US.md
  2. 4
      docs/react/customize-theme.zh-CN.md

4
docs/react/customize-theme.en-US.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 (

4
docs/react/customize-theme.zh-CN.md

@ -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 (

Loading…
Cancel
Save