import React from "react"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { faCaretRight } from "@fortawesome/free-solid-svg-icons/faCaretRight"; import AddressHighlighter from "./components/AddressHighlighter"; import ValueHighlighter from "./components/ValueHighlighter"; import DecoratedAddressLink from "./components/DecoratedAddressLink"; import FormattedBalance from "./components/FormattedBalance"; import { AddressContext, TokenMeta, TokenTransfer, TransactionData, } from "./types"; import { ResolvedAddresses } from "./api/address-resolver"; type TokenTransferItemProps = { t: TokenTransfer; txData: TransactionData; tokenMeta?: TokenMeta | undefined; resolvedAddresses: ResolvedAddresses | undefined; }; // TODO: handle partial const TokenTransferItem: React.FC = ({ t, txData, tokenMeta, resolvedAddresses, }) => (
From
To
For
); export default React.memo(TokenTransferItem);