Tenancy · Components
TenantCard
TenantCard - Tenant information and management refactored for Material 3Public export
typescript
import { TenantCard } from '@happyvertical/smrt-tenancy/svelte';- Import path
@happyvertical/smrt-tenancy/svelte- Props
- 7
- Props described
- 7 of 7
- Bindable state
- 0
- Callback events
- 3
- Verified release
- 0.44.0
Props
NameTypeRequiredDescription
tenantTenantYesThe tenant to display.memberCountnumberNoNumber of members in the tenant.onclick() => voidNoFired when the card is clicked.selectedbooleanNoHighlights the card when true.actionsbooleanNoShows edit and delete buttons when true.onedit() => voidNoFired when the user clicks the edit button.ondelete() => voidNoFired when the user clicks the delete button.Bindable state
This component has no bindable public state.
Callback events
onclick() => voidonedit() => voidondelete() => void