@dxos/app-framework - v0.15.0
    Preparing search index...

    Function useSettingsState

    • Hook to read and update a settings atom. Returns the current value and an update function.

      Type Parameters

      • T

      Parameters

      • atom: Writable<T>

      Returns { settings: T; updateSettings: (fn: (current: T) => T) => void }