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

Commerce · Components

UnbilledItems

Props for UnbilledItems component

Public export

typescript
import { UnbilledItems } from '@happyvertical/smrt-commerce/svelte';
Import path
@happyvertical/smrt-commerce/svelte
Props
5
Props described
5 of 5
Bindable state
0
Callback events
2
Verified release
0.44.0

Props

NameTypeRequiredDescription
itemsUnbilledItem[]YesUnbilled items
currency'CAD' | 'USD'NoCurrency code
onselectionchange(selectedIds: string[]) => voidNoCalled when selection changes
oncreate(selectedIds: string[]) => voidNoCalled when create invoice is clicked
emptyMessagestringNoEmpty state message

Bindable state

This component has no bindable public state.

Callback events

  • onselectionchange(selectedIds: string[]) => void
  • oncreate(selectedIds: string[]) => void

Examples and explanation