UseNetworkSwitcherModalOptions

Options for the useNetworkSwitcherModal hook's returned open function

type UseNetworkSwitcherModalOptions = {
client: ThirdwebClient;
locale?: LocaleId;
onCustomClick?: () => void;
onSwitch?: (chain: Chain) => void;
renderChain?: React.FC<NetworkSelectorChainProps>;
sections?: Array<ChainSection>;
theme?: Theme | "dark" | "light";
};