Commerce · Components
UnbilledItems
Props for UnbilledItems componentPublic 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 itemscurrency'CAD' | 'USD'NoCurrency codeonselectionchange(selectedIds: string[]) => voidNoCalled when selection changesoncreate(selectedIds: string[]) => voidNoCalled when create invoice is clickedemptyMessagestringNoEmpty state messageBindable state
This component has no bindable public state.
Callback events
onselectionchange(selectedIds: string[]) => voidoncreate(selectedIds: string[]) => void