9 lines
197 B
TypeScript
9 lines
197 B
TypeScript
|
@Component({
|
||
|
selector: 'toh-hero-button',
|
||
|
template: `<button>{{label}}</button>`
|
||
|
})
|
||
|
export class HeroButtonComponent {
|
||
|
@Output() change = new EventEmitter<any>();
|
||
|
@Input() label: string;
|
||
|
}
|