import styles from './Result.module.css' import { formatNumber } from '../utils' import Image from 'next/image' type Props = { tokenSymbol: string tokenAddress: string amount: number amountAsi: number amountFiat: number } export function Result({ tokenSymbol, tokenAddress, amount, amountAsi, amountFiat }: Props) { return (

{tokenSymbol} {formatNumber(amount, tokenSymbol)}

→{' '} {formatNumber(amountAsi, 'ASI')}{' '} = {formatNumber(amountFiat, 'USD')}

) }