Skip to content

five-on-it / apps/client/src/ui/settings / createSettingsStore

Function: createSettingsStore() ​

createSettingsStore(store?): Store<Settings>

Defined in: apps/client/src/ui/settings.ts:232

The settings as a store: read from the browser once, saved on every change.

Parameters ​

store? ​

Pick<Storage, "getItem"> & Pick<Storage, "setItem"> | undefined

Returns ​

Store<Settings>