type Props = { symbol: string price: number priceAsi: number ratio: number exampleBuyInUsd: number } export function Result({ symbol, price, priceAsi, ratio, exampleBuyInUsd }: Props) { return (
{symbol} You will get {exampleBuyInUsd / price} {symbol}, convertible to {(exampleBuyInUsd / price) * ratio} ASI{' '} currently worth{' '} ${((exampleBuyInUsd / price) * ratio * priceAsi).toFixed(2)} .
) }