API Reference / @gtkx/react / @gtkx/react / SettingsProviderProps
Type Alias: SettingsProviderProps
SettingsProviderProps =
object
Defined in: packages/react/src/components/settings-provider.tsx:15
Props of SettingsProvider.
Properties
children?
optionalchildren?:ReactNode
Defined in: packages/react/src/components/settings-provider.tsx:24
Rendered once the instance exists.
ref?
optionalref?:Ref<Gio.Settings>
Defined in: packages/react/src/components/settings-provider.tsx:22
Receives the Gio.Settings instance, for calls the hooks do not cover such as reset and createAction.
schema
schema:
SettingsSchema
Defined in: packages/react/src/components/settings-provider.tsx:20
Schema to instantiate: a module GTKX generates from a .gschema.xml import, one path of a relocatable schema obtained from its at(path), or a hand-written object describing a schema installed on the system.