smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Svelte · Settings

OwnerApprovalsSettings

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

Public export

typescript
import { OwnerApprovalsSettings } from '@happyvertical/smrt-svelte/settings';
Import path
@happyvertical/smrt-svelte/settings
Props
4
Props described
4 of 4
Bindable state
0
Callback events
2
Verified release
0.70.2

Props

NameTypeRequiredDescription
approvalsAssistantApprovalView[]NoServer-loaded approvals to show first; the list then refreshes through `transport`.
transportAssistantTransportYesConnection used to list approvals and send the owner's decision.
ondecided() => void | Promise<void>NoCalled after an owner decision is accepted, to refresh the surrounding page.
onsettled() => void | Promise<void>NoA known unsettled hold succeeded; invoked once before its card is removed.

Bindable state

This component has no bindable public state.

Callback events

  • ondecided() => void | Promise<void>
  • onsettled() => void | Promise<void>

Examples and explanation