Type alias NetworkSelectorProps

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

Type declaration

  • Optional chains?: Chain[]
  • Optional onClose?: (() => void)
      • (): void
      • Returns void

  • Optional onCustomClick?: (() => void)
      • (): void
      • Returns void

  • Optional onSwitch?: ((chain) => void)
      • (chain): void
      • Parameters

        • chain: Chain

        Returns void

  • open: boolean
  • Optional popularChains?: Chain[]
  • Optional recentChains?: Chain[]
  • Optional renderChain?: RenderChain
  • theme: "dark" | "light" | Theme

Generated using TypeDoc