jehoelkh
This commit is contained in:
13
src/app/components/create-modal/create-modal.html
Normal file
13
src/app/components/create-modal/create-modal.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<button nz-button nzType="primary" (click)="showModal()">
|
||||
<span>Ajouter un livre</span> Ajouter
|
||||
</button>
|
||||
|
||||
<nz-modal
|
||||
[(nzVisible)]="isVisible"
|
||||
nzTitle="Ajouter"
|
||||
(nzOnCancel)="handleCancel()"
|
||||
(nzOnOk)="handleOk()"
|
||||
[nzOkLoading]="isOkLoading"
|
||||
>
|
||||
<ng-container [ngComponentOutlet]="content"></ng-container>
|
||||
</nz-modal>
|
||||
Reference in New Issue
Block a user