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

Projects · Components

PreviewApprovalPanel

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

Public export

typescript
import { PreviewApprovalPanel } from '@happyvertical/smrt-projects/svelte';
Import path
@happyvertical/smrt-projects/svelte
Props
3
Props described
3 of 3
Bindable state
0
Callback events
1
Verified release
0.44.0

Props

NameTypeRequiredDescription
previewPreviewApprovalViewYesPreview item awaiting approval decision.
busybooleanNoDisables approval buttons during processing.
ondecide(approved: boolean) => void | Promise<void>NoInvoked when the user approves or rejects the preview.

Bindable state

This component has no bindable public state.

Callback events

  • ondecide(approved: boolean) => void | Promise<void>

Examples and explanation