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 473 B
import { useSettingsActions } from '../../stores/settings/useSettingsActions.js'; import { useSettingsStore } from './useSettingsStore.js'; export const useAppearance = () => { const { setValue } = useSettingsActions(); const appearance = useSettingsStore((state) => state.appearance); const setAppearance = (appearance) => { setValue('appearance', appearance); }; return [appearance, setAppearance]; }; //# sourceMappingURL=useAppearance.js.map