react-feather
Version:
React component for Feather icons
56 lines (51 loc) • 1.14 kB
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const LogOut = 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}
>
<path
d="M10 22H5a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h5"
fill="none"
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<polyline
points="17 16 21 12 17 8"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<line
x1="21"
y1="12"
x2="9"
y2="12"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
</svg>
);
};
LogOut.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
LogOut.defaultProps = {
color: 'currentColor',
size: '24',
};
export default LogOut;