dappconnect-sdks/packages/icons/20/android-icon.tsx

37 lines
1.0 KiB
TypeScript

import { useTheme } from '@tamagui/core'
import { Circle, Path, Svg } from 'react-native-svg'
import type { IconProps } from '../types'
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"
{...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>
)
}
export default SvgAndroidIcon