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

Reports · Components

ReportResult

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

Public export

typescript
import { ReportResult } from '@happyvertical/smrt-reports/svelte';
Import path
@happyvertical/smrt-reports/svelte
Props
6
Props described
3 of 6
Bindable state
0
Callback events
0
Verified release
0.57.40

Props

NameTypeRequiredDescription
resultRuntimeReportResultYesNot described
variant'compact' | 'full'No`compact` (default) for a preview card, `full` for a report's page.
specRuntimeReportSpecNoThe report's spec, so figures know which measures add up.
view'chart' | 'table'NoChart or table, bindable so the page's actions can follow it.
localestringNoNot described
currencystringNoNot described

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation