@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.
10 lines (9 loc) • 455 B
TypeScript
import type { FormTypeProps } from '../form/types.js';
export type InputMode = 'amount' | 'price';
interface InputModeState {
inputMode: Record<'from' | 'to', InputMode>;
setInputMode: (formType: FormTypeProps['formType'], mode: InputMode) => void;
toggleInputMode: (formType: FormTypeProps['formType']) => void;
}
export declare const useInputModeStore: import("zustand").UseBoundStore<import("zustand").StoreApi<InputModeState>>;
export {};