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

Reports · Components

ReportDetail

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

Public export

typescript
import { ReportDetail } from '@happyvertical/smrt-reports/svelte';
Import path
@happyvertical/smrt-reports/svelte
Props
8
Props described
4 of 8
Bindable state
0
Callback events
2
Verified release
0.57.40

Props

NameTypeRequiredDescription
idstringYesNot described
clientRuntimeReportsClientNoNot described
sourcesreadonly ReportSourceInfo[]NoThe report sources by label and fields (`reports.runtime.sources`).
authorLabel(userId: string) => string | undefinedNoHost-owned identity projection ("You"); others stay unnamed.
onreport(report: SavedRuntimeReport) => voidNoCalled with the report once it loads (a host titles its page with it).
onedit(report: SavedRuntimeReport) => voidNoReplace Edit asking the page's assistant.
localestringNoNot described
currencystringNoNot described

Bindable state

This component has no bindable public state.

Callback events

  • onreport(report: SavedRuntimeReport) => void
  • onedit(report: SavedRuntimeReport) => void

Examples and explanation