<div fxFlex fxLayout="row" class="mat-simple-snackbar ng-star-inserted">
  <span fxFlex #messageContainer></span>
  <div
    fxFlex="nogrow"
    fxFlexAlign="center"
    class="mat-simple-snackbar-action ng-star-inserted"
  >
    <button mat-stroked-button (click)="onClickConfirm()">
      <ng-container
        *ngIf="data.buttonText; then buttonText; else default"
      ></ng-container>
      <ng-template #buttonText>{{ data.buttonText }}</ng-template>
      <ng-template #default>{{
        'common.messages.confirm' | translate
      }}</ng-template>
    </button>
  </div>
</div>
