mirror of https://github.com/Chocobozzz/PeerTube
13 lines
330 B
TypeScript
13 lines
330 B
TypeScript
|
import { Component, Input } from '@angular/core'
|
||
|
import { Video } from './video.model'
|
||
|
|
||
|
@Component({
|
||
|
selector: 'my-video-thumbnail',
|
||
|
styleUrls: [ './video-thumbnail.component.scss' ],
|
||
|
templateUrl: './video-thumbnail.component.html'
|
||
|
})
|
||
|
export class VideoThumbnailComponent {
|
||
|
@Input() video: Video
|
||
|
@Input() nsfw = false
|
||
|
}
|