mirror of
https://github.com/bitwarden/browser
synced 2026-02-19 10:54:00 +00:00
18 lines
690 B
HTML
18 lines
690 B
HTML
<button bitButton [bitMenuTriggerFor]="itemOptions" buttonType="primary" type="button">
|
|
<i *ngIf="!hideIcon" class="bwi bwi-plus tw-me-2" aria-hidden="true"></i>
|
|
{{ (hideIcon ? "createSend" : "new") | i18n }}
|
|
</button>
|
|
<bit-menu #itemOptions>
|
|
<a bitMenuItem (click)="createSend(sendType.Text)">
|
|
<i class="bwi bwi-file-text" slot="start" aria-hidden="true"></i>
|
|
{{ "sendTypeText" | i18n }}
|
|
</a>
|
|
<a bitMenuItem (click)="createSend(sendType.File)">
|
|
<i class="bwi bwi-file" slot="start" aria-hidden="true"></i>
|
|
<div class="tw-flex tw-items-center tw-gap-2">
|
|
{{ "sendTypeFile" | i18n }}
|
|
<app-premium-badge></app-premium-badge>
|
|
</div>
|
|
</a>
|
|
</bit-menu>
|