22 lines
538 B
TypeScript
22 lines
538 B
TypeScript
|
import React from 'react';
|
||
|
|
||
|
type Props = {
|
||
|
size: number | string;
|
||
|
color: string;
|
||
|
};
|
||
|
|
||
|
const User = ({ size, color }: Props) => {
|
||
|
return (
|
||
|
<svg fill={color} xmlns="http://www.w3.org/2000/svg" width={size} height={size} viewBox="0 0 16 16">
|
||
|
<path d="M9 11.041v-0.825c1.102-0.621 2-2.168 2-3.716 0-2.485 0-4.5-3-4.5s-3 2.015-3 4.5c0 1.548 0.898 3.095 2 3.716v0.825c-3.392 0.277-6 1.944-6 3.959h14c0-2.015-2.608-3.682-6-3.959z" />
|
||
|
</svg>
|
||
|
);
|
||
|
};
|
||
|
|
||
|
User.defaultProps = {
|
||
|
size: 16,
|
||
|
color: '#000',
|
||
|
};
|
||
|
|
||
|
export default User;
|