WIP plugins: update plugin
[oweals/peertube.git] / client / src / app / shared / buttons / button.component.ts
index a91e9c7eb1b140606494d1ffb3a84aee5e40b7e4..cac5ad210ff9d6a609db9fba01feb5965861f2cb 100644 (file)
@@ -1,5 +1,5 @@
 import { Component, Input } from '@angular/core'
-import { GlobalIconName } from '@app/shared/icons/global-icon.component'
+import { GlobalIconName } from '@app/shared/images/global-icon.component'
 
 @Component({
   selector: 'my-button',
@@ -9,9 +9,10 @@ import { GlobalIconName } from '@app/shared/icons/global-icon.component'
 
 export class ButtonComponent {
   @Input() label = ''
-  @Input() className: string = undefined
+  @Input() className = 'grey-button'
   @Input() icon: GlobalIconName = undefined
   @Input() title: string = undefined
+  @Input() loading = false
 
   getTitle () {
     return this.title || this.label