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

Commerce · Components

InvoiceCard

Invoice list/grid card. Compact card view for displaying invoices in lists.

Public export

typescript
import { InvoiceCard } from '@happyvertical/smrt-commerce/svelte';
Import path
@happyvertical/smrt-commerce/svelte
Props
6
Props described
6 of 6
Bindable state
0
Callback events
1
Verified release
0.62.10

Props

NameTypeRequiredDescription
invoiceInvoiceDataNoInvoice data
currency'CAD' | 'USD'NoCurrency code
hrefstringNoNavigation href
onclick() => voidNoClick handler
retainedRetainedInvoiceCardViewNoCaller-authoritative retained card.
detailsSnippet<[RetainedInvoiceCardView]>NoRenders caller-owned retained evidence.

Bindable state

This component has no bindable public state.

Callback events

  • onclick() => void

Examples and explanation