react-feather
Version:
React component for Feather icons
45 lines (40 loc) • 926 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const CornerRightUp = 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="10 9 15 4 20 9"
fill="none"
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<path
d="M4 20h7a4 4 0 0 0 4-4V4"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
</svg>
);
};
CornerRightUp.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
CornerRightUp.defaultProps = {
color: 'currentColor',
size: '24',
};
export default CornerRightUp;