import React from 'react'; import PropTypes from 'prop-types'; import Icon from './Icon'; import './NavigationIcon.css'; /** * @typedef {Object} NavigationIconProps * @property {(event: React.MouseEvent) => void} onToggle */ /** * Navigation icon * @param {NavigationIconProps} props */ function NavigationIcon(props) { return (
); } export default React.memo(NavigationIcon); NavigationIcon.propTypes = { onToggle: PropTypes.func.isRequired };