UNPKG

react-feather

Version:
48 lines (43 loc) 947 B
import React from 'react'; import PropTypes from 'prop-types'; const ArrowUpRight = 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} > <line x1="6" y1="18" x2="18" y2="6" fill="none" stroke={color} strokeLinecap="round" strokeMiterlimit="10" strokeWidth="2" /> <polyline points="9 6 18 6 18 15" fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="2" /> </svg> ); }; ArrowUpRight.propTypes = { color: PropTypes.string, size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]), }; ArrowUpRight.defaultProps = { color: 'currentColor', size: '24', }; export default ArrowUpRight;