mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Better typings
This commit is contained in:
parent
cdf4cb9eaf
commit
c199c427d4
65 changed files with 1606 additions and 150 deletions
|
@ -8,9 +8,9 @@ import { Component, Input } from '@angular/core'
|
|||
|
||||
export class ButtonComponent {
|
||||
@Input() label = ''
|
||||
@Input() className: any = undefined
|
||||
@Input() icon: any = undefined
|
||||
@Input() title: any = undefined
|
||||
@Input() className: string = undefined
|
||||
@Input() icon: string = undefined
|
||||
@Input() title: string = undefined
|
||||
|
||||
getTitle () {
|
||||
return this.title || this.label
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue