UNPKG

react-feather

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