@lifi/widget
Version:
LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.
13 lines (12 loc) • 500 B
TypeScript
import type { ExtendedChain } from '@lifi/sdk';
import type { RefObject } from 'react';
interface ChainListProps {
parentRef: RefObject<HTMLDivElement | null>;
chains: ExtendedChain[];
onSelect: (chain: ExtendedChain) => void;
selectedChainId?: number;
isLoading: boolean;
inExpansion: boolean;
}
export declare const ChainList: ({ parentRef, chains, onSelect, selectedChainId, isLoading, inExpansion, }: ChainListProps) => import("react/jsx-runtime").JSX.Element;
export {};