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