@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) • 568 B
TypeScript
import type { ExtendedChain } from '@lifi/sdk';
import type { RefObject } from 'react';
interface VirtualizedChainListProps {
scrollElementRef: RefObject<HTMLDivElement | null>;
chains: ExtendedChain[];
onSelect: (chain: ExtendedChain) => void;
selectedChainId?: number;
itemsSize: 'small' | 'medium';
withPinnedChains: boolean;
}
export declare const VirtualizedChainList: ({ chains, onSelect, selectedChainId, itemsSize, scrollElementRef, withPinnedChains, }: VirtualizedChainListProps) => import("react/jsx-runtime").JSX.Element;
export {};