UNPKG

react-feather

Version:
37 lines (32 loc) 724 B
import React from 'react'; import PropTypes from 'prop-types'; const Volume = props => { const { color, size, ...otherProps } = props; return ( <svg xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 24 24" {...otherProps} > <polygon points="11 5 6 9 2 9 2 15 6 15 11 19 11 5" fill="none" stroke={color} strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> </svg> ); }; Volume.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; Volume.defaultProps = { color: 'currentColor', size: '24', }; export default Volume;