mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
chore: change menu icon in site
This commit is contained in:
parent
1719748a29
commit
9a59018580
@ -2,7 +2,7 @@ import * as React from 'react';
|
||||
import classNames from 'classnames';
|
||||
import { FormattedMessage } from 'react-intl';
|
||||
import { Link } from 'bisheng/router';
|
||||
import { UnorderedListOutlined } from '@ant-design/icons';
|
||||
import { MenuOutlined } from '@ant-design/icons';
|
||||
import { Menu } from 'antd';
|
||||
import { getEcosystemGroup } from './More';
|
||||
import * as utils from '../../utils';
|
||||
@ -63,7 +63,7 @@ export default ({
|
||||
additional = additionalItems;
|
||||
} else if (responsive === 'crowded') {
|
||||
additional = (
|
||||
<Menu.SubMenu key="additional" title={<UnorderedListOutlined />}>
|
||||
<Menu.SubMenu key="additional" title={<MenuOutlined />}>
|
||||
{additionalItems}
|
||||
</Menu.SubMenu>
|
||||
);
|
||||
|
@ -1,7 +1,7 @@
|
||||
import React from 'react';
|
||||
import { FormattedMessage, injectIntl } from 'react-intl';
|
||||
import classNames from 'classnames';
|
||||
import { UnorderedListOutlined } from '@ant-design/icons';
|
||||
import { MenuOutlined } from '@ant-design/icons';
|
||||
import { Select, Row, Col, Popover, Button } from 'antd';
|
||||
import canUseDom from 'rc-util/lib/Dom/canUseDom';
|
||||
import * as utils from '../../utils';
|
||||
@ -341,7 +341,7 @@ class Header extends React.Component<HeaderProps, HeaderState> {
|
||||
arrowPointAtCenter
|
||||
onVisibleChange={this.onMenuVisibleChange}
|
||||
>
|
||||
<UnorderedListOutlined className="nav-phone-icon" onClick={this.handleShowMenu} />
|
||||
<MenuOutlined className="nav-phone-icon" onClick={this.handleShowMenu} />
|
||||
</Popover>
|
||||
)}
|
||||
<Row style={{ flexFlow: 'nowrap', height: 64 }}>
|
||||
|
Loading…
Reference in New Issue
Block a user