@kryptogo/kryptogokit-sdk-react
Version:
KryptogoKit offers a comprehensive web3 wallet solution with seamless KryptoGO Auth integration and multi-wallet connection support. Designed for users. Built for developers.
17 lines (16 loc) • 699 B
TypeScript
import type { useSwitchChain } from 'wagmi';
import type { AsyncImageSrc } from '../AsyncImage/useAsyncImage';
import { type BoxProps } from '../Box/Box';
interface ChainProps {
chainId: number;
currentChainId: number;
switchChain: ReturnType<typeof useSwitchChain>['switchChain'];
chainIconSize: BoxProps['height'];
name: string | undefined;
isLoading: boolean;
iconBackground: string | undefined;
src: string | AsyncImageSrc | undefined | null;
idx: number;
}
declare const Chain: ({ chainId, currentChainId, switchChain, chainIconSize, isLoading, src, name, iconBackground, idx, }: ChainProps) => import("react/jsx-runtime").JSX.Element;
export default Chain;