UNPKG

react-feather

Version:
45 lines (40 loc) 924 B
import React from 'react'; import PropTypes from 'prop-types'; const ChevronsDown = 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} > <polyline points="7 13 12 18 17 13" fill="none" stroke={color} strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> <polyline points="7 6 12 11 17 6" fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> </svg> ); }; ChevronsDown.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; ChevronsDown.defaultProps = { color: 'currentColor', size: '24', }; export default ChevronsDown;