@web3modal/base
Version:
#### 🔗 [Website](https://web3modal.com)
15 lines (14 loc) • 744 B
TypeScript
import type { ThemeVariables } from '@web3modal/common';
import type { NetworkControllerState, OptionsControllerState, ThemeMode, Token } from '@web3modal/core';
import type { SIWEControllerClient, Web3ModalSIWEClient } from '@web3modal/siwe';
export type AppKitOptions<ChainType = NetworkControllerState['caipNetwork']> = OptionsControllerState & {
siweConfig?: Web3ModalSIWEClient;
themeMode?: ThemeMode;
themeVariables?: ThemeVariables;
allowUnsupportedChain?: NetworkControllerState['allowUnsupportedChain'];
defaultChain?: ChainType;
chainImages?: Record<number | string, string>;
connectorImages?: Record<string, string>;
tokens?: Record<number, Token>;
siweControllerClient?: SIWEControllerClient;
};