updated modal-button for choice between all types of button at the initialization of the modal
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user