Svelte · Overview
LineItemsWidget
Line items widget (#3718 record page): a document's lines as a table (item, quantity, unit price, amount) with a footer, then the totals block aligned under the amounts: subtotal, discount and tax when present, total.Public export
typescript
import { LineItemsWidget } from '@happyvertical/smrt-svelte/overview';- Import path
@happyvertical/smrt-svelte/overview- Props
- 8
- Props described
- 4 of 8
- Bindable state
- 0
- Callback events
- 0
- Verified release
- 0.62.10
Props
NameTypeRequiredDescription
idstringYesNot describedoptionsOverviewOptionsYesNot describeddataData | undefinedYesNot describedspannumberYesNot describedtitlestringYesHeading shown by the frame (the `title` option, else the type title).localestringYesBCP-47 locale for number formatting.iconComponentComponent<{ name: string; size?: number; }>NoThe host's renderer for icon names that are not built in.presentation'card' | 'plain'NoHow the grid frames tiles right now (`card` when editing, whatever the grid's `presentation` is otherwise). Widgets that draw their own frame drop it under `plain`.Bindable state
This component has no bindable public state.
Callback events
This component declares no callback event props.