{/* Start separator */}
{this.separatorConfig.showStartSeparator && (
)}
{/* Start content items */}
{this.startContent.map(item => {
const itemId = (item as any)._individualSlot as string;
const packedSep = this.getPackedSeparatorInfo(item, true);
return (
{packedSep.shouldPack && (
)}
);
})}
{/* Spacer: Grows to fill available space, used to measure if space is tight, should be in DOM always */}
{/* End content items */}
{this.endContent.map(item => {
const itemId = (item as any)._individualSlot as string;
const packedSep = this.getPackedSeparatorInfo(item, false);
return (
{packedSep.shouldPack && (
)}
);
})}
{/* End separator */}
{this.separatorConfig.showEndSeparator && (
)}
)}
{this.enabledFeatures.search && SearchInBarTemplate.call(this)}
{this.enabledFeatures.search && isLegacySearch && ShellBarSearchButtonLegacy.call(this)}
{assistantAction && (
)}
{/* Custom Items */}
{this.sortItems(this.items).map(item => (