@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) • 523 B
TypeScript
import type { WidgetConfig } from '../../types/widget.js';
import type { SettingsProps, SettingsToolType, ValueSetter } from './types.js';
export declare const useSettingsActions: () => {
setValue: ValueSetter<SettingsProps>;
setDefaultSettings: (config?: WidgetConfig) => void;
resetSettings: (bridges: string[], exchanges: string[]) => void;
setToolValue: (toolType: SettingsToolType, tool: string, value: boolean) => void;
toggleToolKeys: (toolType: SettingsToolType, toolKeys: string[]) => void;
};