UNPKG

react-feather

Version:
37 lines (32 loc) 716 B
import React from 'react'; import PropTypes from 'prop-types'; const Edit2 = 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="16 3 21 8 8 21 3 21 3 16 16 3" fill="none" stroke={color} strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> </svg> ); }; Edit2.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; Edit2.defaultProps = { color: 'currentColor', size: '24', }; export default Edit2;