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',
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