UNPKG

@nypl/dgx-svg-icons

Version:
43 lines (38 loc) 1.24 kB
import React from 'react'; import PropTypes from 'prop-types'; const MenuIcon = ({ viewBox, height, width, title, className, style, fill, ariaHidden, focusable }) => ( <svg viewBox={viewBox} width={width} height={height} className={`${className} svgIcon`} fill={fill} style={style} aria-hidden={ariaHidden} focusable={focusable} > <title>{title}</title> <path d="M26.22029,10.40244H5.77971a1.09221,1.09221,0,1,1,0-2.18441H26.22029A1.09221,1.09221,0,1,1,26.22029,10.40244Z" /> <path d="M26.22029,16.95568H5.77971a1.09221,1.09221,0,0,1,0-2.18441H26.22029A1.09221,1.09221,0,0,1,26.22029,16.95568Z" /> <path d="M26.22029,23.782H5.77971a1.09221,1.09221,0,1,1,0-2.18441H26.22029A1.09221,1.09221,0,1,1,26.22029,23.782Z" /> </svg> ); MenuIcon.propTypes = { className: PropTypes.string, title: PropTypes.string, height: PropTypes.string, width: PropTypes.string, viewBox: PropTypes.string, fill: PropTypes.string, style: PropTypes.object, ariaHidden: PropTypes.bool, focusable: PropTypes.bool, }; MenuIcon.defaultProps = { className: 'menuIcon', title: 'NYPL Hamburger Menu SVG Icon', width: '32', height: '32', viewBox: '0 0 32 32', }; export default MenuIcon;