1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00
Files
browser/libs/components/src/menu/menu-item.component.html
Victoria League 08a6f91411 [CL-221] Add chip-select component (#9021)
---------

Co-authored-by: William Martin <contact@willmartian.com>
2024-05-23 16:30:55 -04:00

12 lines
515 B
HTML

<div class="tw-flex tw-w-full tw-justify-between tw-items-center tw-gap-2">
<span class="tw-flex tw-gap-2 tw-items-center tw-overflow-hidden">
<span #startSlot [ngClass]="{ 'tw-hidden': startSlot.childElementCount === 0 }">
<ng-content select="[slot=start]"></ng-content>
</span>
<span class="tw-truncate"><ng-content></ng-content></span>
</span>
<span #endSlot [ngClass]="{ 'tw-hidden': endSlot.childElementCount === 0 }">
<ng-content select="[slot=end]"></ng-content>
</span>
</div>