UNPKG

@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.

11 lines (10 loc) 580 B
import type { WidgetConfig } from '../../types/widget.js'; import type { SettingsProps, SettingsToolType, ValueSetter } from './types.js'; export declare const useSettingsActions: () => { setValue: ValueSetter<SettingsProps>; setValues: (values: Partial<SettingsProps>) => void; setDefaultSettings: (config?: WidgetConfig) => void; resetSettings: (bridges: string[], exchanges: string[]) => void; setToolValue: (toolType: SettingsToolType, tool: string, value: boolean) => void; toggleToolKeys: (toolType: SettingsToolType, toolKeys: string[]) => void; };