react-feather
Version:
React component for Feather icons
56 lines (51 loc) • 1.13 kB
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const LogIn = 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="M14 22h5a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2h-5"
fill="none"
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<polyline
points="11 16 15 12 11 8"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<line
x1="15"
y1="12"
x2="3"
y2="12"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
</svg>
);
};
LogIn.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
LogIn.defaultProps = {
color: 'currentColor',
size: '24',
};
export default LogIn;