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.

9 lines 331 B
import { shallow } from 'zustand/shallow'; import { useSettingsStore } from './useSettingsStore.js'; export const useSettings = (keys) => { return useSettingsStore((state) => keys.reduce((values, key) => { values[key] = state[key]; return values; }, {}), shallow); }; //# sourceMappingURL=useSettings.js.map