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