]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/shared/buttons/button.component.ts
Users can change ownership of their video [#510] (#888)
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / buttons / button.component.ts
1 import { Component, Input } from '@angular/core'
2
3 @Component({
4 selector: 'my-button',
5 styleUrls: ['./button.component.scss'],
6 templateUrl: './button.component.html'
7 })
8
9 export class ButtonComponent {
10 @Input() label = ''
11 @Input() className = undefined
12 @Input() icon = undefined
13 @Input() title = undefined
14
15 getTitle () {
16 return this.title || this.label
17 }
18 }