]>
Commit | Line | Data |
---|---|---|
202f6b6c C |
1 | import { Component, Input } from '@angular/core' |
2 | import { Video } from './video.model' | |
3 | ||
4 | @Component({ | |
5 | selector: 'my-video-thumbnail', | |
6 | styleUrls: [ './video-thumbnail.component.scss' ], | |
7 | templateUrl: './video-thumbnail.component.html' | |
8 | }) | |
9 | export class VideoThumbnailComponent { | |
10 | @Input() video: Video | |
11 | @Input() nsfw = false | |
12 | } |