@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) • 453 B
TypeScript
import type { RefObject } from 'react';
interface UseContentHeightProps {
listParentRef: RefObject<HTMLUListElement | HTMLDivElement | null>;
headerRef?: RefObject<HTMLElement | null>;
}
export declare const defaultMinListHeight = 360;
export declare const minMobileListHeight = 160;
export declare const useListHeight: ({ listParentRef, headerRef, }: UseContentHeightProps) => {
minListHeight: number;
listHeight: number;
};
export {};