aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video/video-thumbnail.component.ts
blob: e543e9903bbf1855bc7e5d820b07f1f699634c30 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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
}