UNPKG

react-feather

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