Projects · Components
TimeEntryCard
Props for TimeEntryCard componentPublic export
typescript
import { TimeEntryCard } from '@happyvertical/smrt-projects/svelte';- Import path
@happyvertical/smrt-projects/svelte- Props
- 8
- Props described
- 8 of 8
- Bindable state
- 0
- Callback events
- 2
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
entryTimeEntryYesTime entry data to display.hrefstringNoURL to navigate to when the card is clicked.onclick() => voidNoInvoked when the card content is clicked.selectablebooleanNoShows a checkbox for selecting the entry.selectedbooleanNoIndicates whether the entry is selected.onselect(id: string, selected: boolean) => voidNoInvoked when the selection checkbox is toggled.currencyCurrencyNoCurrency code for formatting hourly rates and amounts.actionsSnippetNoRenders action buttons on the right side of the card.Bindable state
This component has no bindable public state.
Callback events
onclick() => voidonselect(id: string, selected: boolean) => void