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>; theme?: "dark" | "light" | Theme;};