HistoryEntryComponent
HistoryEntryComponent
This interface should be implemented by components intended to display a history entry in the Order or Customer history timeline. If the component needs access to the Order or Customer object itself, you should implement OrderHistoryEntryComponent or CustomerHistoryEntryComponent respectively.
Signature
interface HistoryEntryComponent {
entry: TimelineHistoryEntry;
getDisplayType: (entry: TimelineHistoryEntry) => TimelineDisplayType;
isFeatured: (entry: TimelineHistoryEntry) => boolean;
getName?: (entry: TimelineHistoryEntry) => string | undefined;
getIconShape?: (entry: TimelineHistoryEntry) => string | string[] | undefined;
}
Members
entry
TimelineHistoryEntry
getDisplayType
(entry: TimelineHistoryEntry) => TimelineDisplayType
isFeatured
(entry: TimelineHistoryEntry) => boolean
getName
(entry: TimelineHistoryEntry) => string | undefined
getIconShape
(entry: TimelineHistoryEntry) => string | string[] | undefined
'note'
, ['success-standard', 'is-solid']