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