Canton dApp Booster
    Preparing search index...
    • Supplies the token list every picker in the tree chooses from, plus the byId lookup a consumer needs to turn a stored token id back into a token. Renders no DOM of its own, and there is no ambient fallback: useTokenList throws without it, because a picker with nothing to pick from is worse than one that fails loudly in dev.

      Parameters

      Returns ReactElement

      <TokenListProvider tokens={tokens}>
      <TokenInput label="Amount" token={selected} value={amount} onChange={setAmount}
      onTokenSelect={setSelected} />
      </TokenListProvider>