type NetworkSelectorProps = { onCustomClick?: () => void; onSwitch?: (chain: Chain) => void; popularChainIds?: Array<number>; recentChainIds?: Array<number>; renderChain?: React.FC<NetworkSelectorChainProps>; sections?: Array<ChainSection>;};