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

// #docregion example
@Component({
  selector: 'toh-hero-button',
  template: `<button>{{label}}</button>`
})
export class HeroButtonComponent {
  // No aliases
  @Output() heroChange = new EventEmitter<any>();
  @Input() label: string;
}
// #enddocregion example
