import type TimelineItem from "./TimelineItem.js"; import Link from "@ui5/webcomponents/dist/Link.js"; import Icon from "@ui5/webcomponents/dist/Icon.js"; import TimelineLayout from "./types/TimelineLayout.js"; export default function TimelineItemTemplate(this: TimelineItem) { // Create accessible label with status information const accessibleLabel = this._getAccessibleLabel; return (
{ this.icon ? :
}
{!this.hideBubble &&
{ this.name && name.call(this) } {this.titleText}
{this.subtitleText}
{this.content &&
}
}
); } function name(this: TimelineItem) { return ( <> {this.nameClickable ? {this.name}  : {this.name}  } ); }