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
9
Props described
9 of 9
Bindable state
0
Callback events
6
Verified release
0.44.0

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

Examples and explanation