Added more components
This commit is contained in:
parent
c94493a3c5
commit
8b20acfcc4
28 changed files with 436 additions and 31 deletions
16
src/app/post-card/post-card.component.ts
Normal file
16
src/app/post-card/post-card.component.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
import {Component, Input} from '@angular/core';
|
||||
import {Post} from "../models/post";
|
||||
import {JsonPipe} from "@angular/common";
|
||||
|
||||
@Component({
|
||||
selector: 'iov-post-card',
|
||||
standalone: true,
|
||||
imports: [
|
||||
JsonPipe
|
||||
],
|
||||
templateUrl: './post-card.component.html',
|
||||
styleUrl: './post-card.component.scss'
|
||||
})
|
||||
export class PostCardComponent {
|
||||
@Input() post: Post | undefined;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue