2023-03-13 20:47:52 +00:00
|
|
|
import { useTheme } from '@tamagui/core'
|
2023-01-20 14:18:05 +00:00
|
|
|
import { Circle, Path, Svg } from 'react-native-svg'
|
|
|
|
|
2023-03-13 20:47:52 +00:00
|
|
|
import type { IconProps } from '../types'
|
2023-01-20 14:18:05 +00:00
|
|
|
|
2023-03-13 20:47:52 +00:00
|
|
|
const SvgAddUserIcon = (props: IconProps) => {
|
|
|
|
const { color: token = '$neutral-100' } = props
|
|
|
|
const theme = useTheme()
|
|
|
|
/* eslint-disable-next-line @typescript-eslint/ban-ts-comment */
|
|
|
|
// @ts-ignore
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
|
|
const color = theme[token]?.val ?? token
|
2023-01-20 14:18:05 +00:00
|
|
|
return (
|
|
|
|
<Svg
|
|
|
|
width={16}
|
|
|
|
height={16}
|
|
|
|
fill="none"
|
|
|
|
xmlns="http://www.w3.org/2000/svg"
|
2023-03-13 20:47:52 +00:00
|
|
|
{...props}
|
2023-01-20 14:18:05 +00:00
|
|
|
>
|
|
|
|
<Path
|
|
|
|
d="M8.5 10H6a3 3 0 0 0-3 3 1 1 0 0 0 1 1h4.5"
|
|
|
|
stroke={color}
|
|
|
|
strokeWidth={1.2}
|
|
|
|
strokeLinejoin="round"
|
|
|
|
/>
|
|
|
|
<Circle
|
|
|
|
cx={8.5}
|
|
|
|
cy={5}
|
|
|
|
r={2.5}
|
|
|
|
stroke={color}
|
|
|
|
strokeWidth={1.2}
|
|
|
|
strokeLinejoin="round"
|
|
|
|
/>
|
|
|
|
<Path d="M11.5 10v4M9.5 12h4" stroke={color} strokeWidth={1.2} />
|
|
|
|
</Svg>
|
|
|
|
)
|
|
|
|
}
|
2023-01-23 13:03:08 +00:00
|
|
|
export default SvgAddUserIcon
|