import React, { FC } from 'react' import { styled } from '../../stitches.config' import { StyledComponent } from '@stitches/react/types/styled-component' import { useReservoirClient } from '@reservoir0x/reservoir-kit-ui' import { zeroAddress } from 'viem' type Props = { address: string chainId?: number } & Parameters['0'] const StyledImg = styled('img', {}) const CryptoCurrencyIcon: FC = ({ address = zeroAddress, chainId, css, }) => { const client = useReservoirClient() const chain = client?.chains?.find((chain) => chainId !== undefined ? chain.id === chainId : chain.active ) return ( ) } export default CryptoCurrencyIcon