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

Commerce · Components

InvoiceCard

Legacy decimal-major card or exact retained card.

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.57.40

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