blob: 0a22ac57bb19c0e2a4afacade69fe18c1b679722 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
import React from 'react';
import PropTypes from 'prop-types';
import Icon from './Icon';
import './NavigationIcon.css';
function NavigationIcon(props) {
return (
<div id="navicon" className="mobile" onClick={props.onToggle}>
<Icon name="ei-navicon" size="s"/>
</div>
);
}
export default React.memo(NavigationIcon);
NavigationIcon.propTypes = {
onToggle: PropTypes.func.isRequired
};
|