react-feather
Version:
React component for Feather icons
48 lines (43 loc) • 935 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const Edit3 = 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}
>
<polygon
points="14 2 18 6 7 17 3 17 3 13 14 2"
fill="none"
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<line
x1="3"
y1="22"
x2="21"
y2="22"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
</svg>
);
};
Edit3.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
Edit3.defaultProps = {
color: 'currentColor',
size: '24',
};
export default Edit3;