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