Docs

NetworkSelectorProps

type NetworkSelectorProps = {
chains?: Array<Chain>;
onClose?: () => void;
onCustomClick?: () => void;
onSwitch?: (chain: Chain) => void;
open: boolean;
popularChains?: Array<Chain>;
recentChains?: Array<Chain>;
renderChain?: React.FC<NetworkSelectorChainProps>;
sections?: Array<{ chains: Array<Chain>; label: string }>;
theme?: "dark" | "light" | Theme;
};