s-m-r-t
Open the s-m-r-t source on GitHub Switch to dark color scheme
← All UI components

Svelte · Workspace

ShellSettingsPanel

No summary has been written for ShellSettingsPanel. Everything below is generated from the declaration shipped in 0.57.40 and describes the real contract.

Public export

typescript
import { ShellSettingsPanel } from '@happyvertical/smrt-svelte/workspace';
Import path
@happyvertical/smrt-svelte/workspace
Props
4
Props described
4 of 4
Bindable state
0
Callback events
1
Verified release
0.57.40

Props

NameTypeRequiredDescription
appearancebooleanNoShow the Appearance section (needs a `ThemeProvider` above).
accountbooleanNoShow the Account section (needs the Provider's `useAuth()` above).
signOutHrefstringNoWhere the sign-out control goes; the control is hidden when neither this nor `onSignOut` is given.
onSignOut() => unknownNoCalled by the sign-out control instead of following `signOutHref`. May return a promise: the control is busy and disabled while it is pending; a rejection shows an inline error and leaves the section as it was.

Bindable state

This component has no bindable public state.

Callback events

  • onSignOut() => unknown

Examples and explanation