UNPKG

@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.

16 lines (15 loc) 639 B
import type { ExtendedChain } from '@lifi/sdk'; import type { RefObject } from 'react'; import type { FormType } from '../../stores/form/types.js'; interface ChainListProps { parentRef: RefObject<HTMLDivElement | null>; formType: FormType; chains: ExtendedChain[]; onSelect: (chain: ExtendedChain) => void; selectedChainId?: number; isLoading: boolean; hasSearchQuery: boolean; inExpansion: boolean; } export declare const ChainList: ({ parentRef, formType, chains, hasSearchQuery, onSelect, selectedChainId, isLoading, inExpansion, }: ChainListProps) => import("react/jsx-runtime").JSX.Element; export {};