dappconnect-sdks/packages/icons/16/connection-icon.tsx

38 lines
1.0 KiB
TypeScript
Raw Normal View History

2023-03-13 20:47:52 +00:00
import { useTheme } from '@tamagui/core'
import { 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 SvgConnectionIcon = (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={16}
height={16}
fill="none"
xmlns="http://www.w3.org/2000/svg"
2023-03-13 20:47:52 +00:00
{...props}
>
<Path
d="M11 14H5l3-7 3 7Z"
2023-03-13 20:47:52 +00:00
stroke="#000"
strokeWidth={1.2}
strokeLinejoin="round"
/>
<Path
d="M8 7V5M4.61 2a3.6 3.6 0 0 0 0 6M5.8 3.531a2.1 2.1 0 0 0 0 2.939M11.39 8a3.601 3.601 0 0 0 0-6M10.2 6.469a2.1 2.1 0 0 0 0-2.939"
2023-03-13 20:47:52 +00:00
stroke="#000"
strokeWidth={1.2}
strokeLinecap="square"
strokeLinejoin="round"
/>
</Svg>
)
}
2023-01-23 13:03:08 +00:00
export default SvgConnectionIcon