soso-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) • 469 B
TypeScript
import type { MutableRefObject } from 'react';
interface UseContentHeightProps {
listParentRef: MutableRefObject<HTMLUListElement | null>;
headerRef: MutableRefObject<HTMLElement | null>;
}
export declare const minTokenListHeight = 360;
export declare const minMobileTokenListHeight = 160;
export declare const useTokenListHeight: ({ listParentRef, headerRef, }: UseContentHeightProps) => {
minListHeight: number;
tokenListHeight: number;
};
export {};