react-feather
Version:
React component for Feather icons
36 lines (31 loc) • 742 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const ArrowDown = props => {
const { color, size, ...otherProps } = props;
return (
<svg
xmlns="http://www.w3.org/2000/svg"
width={size}
height={size}
viewBox="0 0 24 24"
fill="none"
stroke={color}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
{...otherProps}
>
<line x1="12" y1="4" x2="12" y2="20" />
<polyline points="18 14 12 20 6 14" />
</svg>
);
};
ArrowDown.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
ArrowDown.defaultProps = {
color: 'currentColor',
size: '24',
};
export default ArrowDown;