TokenRow
component displays token information in a row format to be used in list components.
// @noErrors: 1109 - Expression expected
import { TokenRow } from '@coinbase/onchainkit/token';
const token = { ... };
<TokenRow token={token} />;
// @noErrors: 1109 - Expression expected
import { TokenRow } from '@coinbase/onchainkit/token';
const token = { ... };
<TokenRow token={token} />;
// @noErrors: 1109 - Expression expected
import { TokenRow } from '@coinbase/onchainkit/token';
const token = { ... };
<TokenRow token={token} amount="1000" />;
<TokenRow token={token} amount="0.00234567" />;
hideImage
and hideSymbol
// @noErrors: 1109 - Expression expected
import { TokenRow } from '@coinbase/onchainkit/token';
const token = { ... };
<TokenRow token={token} hideSymbol />;
<TokenRow token={token} hideImage />;
<TokenRow token={token} hideSymbol hideImage />;
TokenRowReact
Was this page helpful?