import {Component, EventEmitter, Input, Output} from '@angular/core';
// #docregion example
/* avoid pointless aliasing */

@Component({
  standalone: true,
  selector: 'toh-hero-button',
  template: `<button type="button">{{label}}</button>`,
})
export class HeroButtonComponent {
  // Pointless aliases
  @Output('heroChangeEvent') heroChange = new EventEmitter<any>();
  @Input('labelAttribute') label!: string;
}
// #enddocregion example
