dAppBooster
    Preparing search index...
    TokenInput: FC<Props> = ...

    TokenInput component allows users to input token amounts and select tokens from a list. It displays the token input field, token balance, and a dropdown list of available tokens.

    TokenInput component props.

    Optional flag to enable thousands separator. Default is true.

    The title of the token input.

    The current network id. Default is mainnet's id.

    Callback function to be called when a token is selected.

    Optional list of networks to display in the dropdown. The dropdown won't show up if undefined. Default is undefined.

    Optional placeholder text for the search input. Default is 'Search by name or address'.

    Optional height of the virtualized tokens list. Default is 320.

    Optional size of the token icon in the list. Default is 32.

    Optional height of each item in the list. Default is 64.

    Optional flag to allow adding a token. Default is false.

    Optional flag to show the token balance in the list. Default is false.

    Optional flag to show the top tokens in the list. Default is false.