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

Commerce · Components

InvoiceActions

Props for InvoiceActions component

Public export

typescript
import { InvoiceActions } from '@happyvertical/smrt-commerce/svelte';
Import path
@happyvertical/smrt-commerce/svelte
Props
10
Props described
10 of 10
Bindable state
0
Callback events
7
Verified release
0.57.40

Props

NameTypeRequiredDescription
statusInvoiceStatusYesCurrent invoice status
loadingbooleanNoLoading state
onsend() => voidNoCalled when send is clicked
onmarkpaid() => voidNoCalled when mark paid is clicked
onedit() => voidNoCalled when edit is clicked
ondelete() => voidNoCalled when delete is clicked
onprint() => voidNoCalled when print is clicked
onexport() => voidNoCalled when export/download is clicked
oncreatecreditnote() => voidNoHost-authorized credit-note creation for an issued source invoice. The caller owns authorization, navigation, and persistence.
size'sm' | 'md'NoSize variant

Bindable state

This component has no bindable public state.

Callback events

  • onsend() => void
  • onmarkpaid() => void
  • onedit() => void
  • ondelete() => void
  • onprint() => void
  • onexport() => void
  • oncreatecreditnote() => void

Examples and explanation