@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.
12 lines (11 loc) • 531 B
TypeScript
import type { EVMChain, LifiStep, Process } from '@lifi/sdk';
import type { TFunction } from 'i18next';
import type { WidgetSubvariant } from '../types';
export declare const useProcessMessage: (step?: LifiStep, process?: Process) => {
title?: string | undefined;
message?: string | undefined;
};
export declare function getProcessMessage(t: TFunction, getChainById: (chainId: number) => EVMChain | undefined, step: LifiStep, process: Process, subvariant?: WidgetSubvariant): {
title?: string;
message?: string;
};