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

Messages · Components

AccountCard

No summary has been written for AccountCard. Everything below is generated from the declaration shipped in 0.44.0 and describes the real contract.

Public export

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

Props

NameTypeRequiredDescription
accountAccountDataYesAccount data to display with its status and sync history.
onsync(account: AccountData) => voidNoCalled when user clicks the sync button to refresh the account.
onactivate(account: AccountData) => voidNoCalled when user clicks the activate button to enable the account.
ondeactivate(account: AccountData) => voidNoCalled when user clicks the deactivate button to disable the account.
onremove(account: AccountData) => voidNoCalled when user clicks the remove button to delete the account.

Bindable state

This component has no bindable public state.

Callback events

  • onsync(account: AccountData) => void
  • onactivate(account: AccountData) => void
  • ondeactivate(account: AccountData) => void
  • onremove(account: AccountData) => void

Examples and explanation