UNPKG

react-feather

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