Skip to content

Commit eef5939

Browse files
committed
feat: use dtinsight/react-icons replace ant-design/icons
1 parent 5f083f6 commit eef5939

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.dumi/pages/index/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import { Helmet, Link } from 'dumi';
44

55
import GithubOutlined from '../../theme/common/GithubOutlined';
66
import './index.scss';
7+
import GithubOutlined from '../../theme/common/GithubOutlined';
78

89
export default function Homepage() {
910
return (

.dumi/theme/slots/Header/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React, { useState } from 'react';
2-
import { HamburgerOutlined, MenuCloseOutlined } from '@dtinsight/react-icons';
2+
import { MenuCloseOutlined, HamburgerOutlined } from '@dtinsight/react-icons';
33
import { Button, Tooltip } from 'antd';
44
import { useRouteMeta } from 'dumi';
55
import LangSwitch from 'dumi/theme-default/slots/LangSwitch';
@@ -12,6 +12,7 @@ import GithubOutlined from '../../common/GithubOutlined';
1212
import { useMobile } from '../../hooks';
1313
import 'dumi/theme-default/slots/Header/index.less';
1414
import './index.scss';
15+
import GithubOutlined from '../../common/GithubOutlined';
1516

1617
export default function Header() {
1718
const { frontmatter } = useRouteMeta();

0 commit comments

Comments
 (0)