smrt
Open the smrt source on GitHub Switch to dark color scheme
← All UI components

Svelte · Audit

RecordHistory

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

Public export

typescript
import { RecordHistory } from '@happyvertical/smrt-svelte';
Import path
@happyvertical/smrt-svelte
Props
11
Props described
11 of 11
Bindable state
0
Callback events
0
Verified release
0.62.10

Props

NameTypeRequiredDescription
entriesEntry[]YesAuthorized entries. This component never fetches or authorizes records.
resourceTypestringNoOptional resource identity for a per-record page. Both must be supplied together.
resourceIdstringNoLimits entries to this record identifier when supplied with resourceType.
loadingbooleanNoAnnounces that history is loading and suppresses the empty-state message.
errorstring | nullNoDisplays a history-loading error as an alert.
labelstringNoOverrides the translated accessible label for the history section.
resourceLabelAuditEntryLabel<Entry>NoResolves friendly resource text for each authorized entry.
resourceHrefAuditResourceHref<Entry>NoResolves an already-authorized local or HTTP(S) destination for each entry.
actionLabelAuditEntryLabel<Entry>NoResolves friendly action text for each authorized entry.
fieldLabelAuditFieldLabel<Entry>NoResolves friendly field text for each authorized entry change.
formatValueAuditValueFormatter<Entry>NoFormats before/after values as escaped text.

Bindable state

This component has no bindable public state.

Callback events

This component declares no callback event props.

Examples and explanation