UNPKG

react-feather

Version:
36 lines (31 loc) 808 B
import React from 'react'; import PropTypes from 'prop-types'; const Music = props => { const { color, size, ...otherProps } = props; return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" fill="none" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" {...otherProps} > <path d="M9 17H5a2 2 0 0 0-2 2 2 2 0 0 0 2 2h2a2 2 0 0 0 2-2zm12-2h-4a2 2 0 0 0-2 2 2 2 0 0 0 2 2h2a2 2 0 0 0 2-2z" /> <polyline points="9 17 9 5 21 3 21 15" /> </svg> ); }; Music.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; Music.defaultProps = { color: 'currentColor', size: '24', }; export default Music;