39 lines
1014 B
TypeScript
39 lines
1014 B
TypeScript
import { useTheme } from '@tamagui/core'
|
|
import { Circle, Path, Svg } from 'react-native-svg'
|
|
|
|
import type { IconProps } from '../types'
|
|
|
|
const SvgFriendIcon = (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
|
|
return (
|
|
<Svg
|
|
width={20}
|
|
height={20}
|
|
fill="none"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
{...props}
|
|
>
|
|
<Path
|
|
d="M5 14.75A3.75 3.75 0 0 1 8.75 11h2.5A3.75 3.75 0 0 1 15 14.75c0 .69-.56 1.25-1.25 1.25h-7.5C5.56 16 5 15.44 5 14.75Z"
|
|
stroke={color}
|
|
strokeWidth={1.3}
|
|
strokeLinejoin="round"
|
|
/>
|
|
<Circle
|
|
cx={10}
|
|
cy={6}
|
|
r={2.5}
|
|
stroke={color}
|
|
strokeWidth={1.3}
|
|
strokeLinejoin="round"
|
|
/>
|
|
</Svg>
|
|
)
|
|
}
|
|
export default SvgFriendIcon
|