dappconnect-chat-sdk/packages/icons/20/android-icon.tsx

37 lines
1.0 KiB
TypeScript
Raw Normal View History

2023-03-13 20:47:52 +00:00
import { useTheme } from '@tamagui/core'
import { Circle, Path, Svg } from 'react-native-svg'
2023-03-13 20:47:52 +00:00
import type { IconProps } from '../types'
2023-03-13 20:47:52 +00:00
const SvgAndroidIcon = (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"
2023-03-13 20:47:52 +00:00
{...props}
>
<Path
d="M4 9a6 6 0 0 1 12 0v5.667A2.333 2.333 0 0 1 13.667 17H6.333A2.333 2.333 0 0 1 4 14.667V9Z"
stroke={color}
strokeWidth={1.3}
/>
<Path
d="M4 9a6 6 0 0 1 12 0H4ZM14 5l2-2M6 5 4 3"
stroke={color}
strokeWidth={1.3}
/>
<Circle cx={8} cy={6.5} r={1} fill={color} />
<Circle cx={12} cy={6.5} r={1} fill={color} />
</Svg>
)
}
2023-01-23 13:03:08 +00:00
export default SvgAndroidIcon