Type Alias SuiClientProviderProps<T>

SuiClientProviderProps<T>: {
    children: React.ReactNode;
    createClient?: ((name: keyof T, config: T[keyof T]) => SuiClient);
    networks?: T;
    onNetworkChange?: ((network: keyof T & string) => void);
} & ({
    defaultNetwork?: keyof T & string;
    network?: never;
} | {
    defaultNetwork?: never;
    network?: keyof T & string;
})

Type Parameters

  • T extends NetworkConfigs