react-feather
Version:
React component for Feather icons
69 lines (64 loc) • 1.36 kB
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
const UserX = 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="M16 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"
fill="none"
stroke={color}
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<circle
cx="8.5"
cy="7"
r="4"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<line
x1="18"
y1="8"
x2="23"
y2="13"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
<line
x1="23"
y1="8"
x2="18"
y2="13"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="2"
/>
</svg>
);
};
UserX.propTypes = {
color: PropTypes.string,
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
};
UserX.defaultProps = {
color: 'currentColor',
size: '24',
};
export default UserX;