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