s-m-r-t
Open the s-m-r-t 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.57.40 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.57.40

Props

NameTypeRequiredDescription
entriesAuditHistoryEntry[]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.
resourceLabelAuditEntryLabelNoResolves friendly resource text for each authorized entry.
resourceHrefAuditResourceHrefNoResolves an already-authorized local or HTTP(S) destination for each entry.
actionLabelAuditEntryLabelNoResolves friendly action text for each authorized entry.
fieldLabelAuditFieldLabelNoResolves friendly field text for each authorized entry change.
formatValueAuditValueFormatterNoFormats 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