import { Component, EventEmitter, Input, Output } from '@angular/core';

import { FloatButton } from '../../interfaces/components/float-button/float-button.interface';

@Component({
  selector: 'app-float-button',
  templateUrl: './float-button.component.html',
  styleUrls: ['./float-button.component.scss']
})
export class FloatButtonComponent {
  @Input() icon: FloatButton['icon'];
  @Input() label: FloatButton['label'] = '';

  @Output() onClick = new EventEmitter<void>();
}
