updated modal-button for choice between all types of button at the initialization of the modal

This commit is contained in:
2025-11-15 19:15:16 +01:00
parent 8866c84618
commit c42b8d82e4
7 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,4 @@
import {Component, input, Input} from '@angular/core';
import {NzIconDirective} from "ng-zorro-antd/icon";
import {NzModalComponent} from "ng-zorro-antd/modal";
import {NzButtonComponent} from "ng-zorro-antd/button";
@@ -15,6 +14,7 @@ import {NzButtonComponent} from "ng-zorro-antd/button";
export class ModalButton {
name = input.required<string>()
type = input<"primary" | "default" | "dashed" | "link" | "text">()
isVisible = false;
isOkLoading = false;