updated author's forms
This commit is contained in:
26
src/app/components/author-card/author-card.ts
Normal file
26
src/app/components/author-card/author-card.ts
Normal file
@@ -0,0 +1,26 @@
|
||||
import {Component, input} from '@angular/core';
|
||||
import {AuthorInfo} from "../../interfaces/author.interfaces";
|
||||
import {Modal} from "../modal/modal";
|
||||
import {NzButtonComponent} from "ng-zorro-antd/button";
|
||||
import {NzCardComponent, NzCardMetaComponent} from "ng-zorro-antd/card";
|
||||
import {UpdateAuthor} from "../update-author/update-author";
|
||||
|
||||
@Component({
|
||||
selector: 'app-author-card',
|
||||
imports: [
|
||||
Modal,
|
||||
NzButtonComponent,
|
||||
NzCardComponent,
|
||||
UpdateAuthor,
|
||||
NzCardMetaComponent
|
||||
],
|
||||
templateUrl: './author-card.html',
|
||||
styleUrl: '../book-card/book-card.css',
|
||||
})
|
||||
export class AuthorCard {
|
||||
authorInfo = input.required<AuthorInfo>();
|
||||
|
||||
delete() {
|
||||
return
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user