import { Component } from '@angular/core';

import { NzPageHeaderModule } from 'ng-zorro-antd/page-header';

@Component({
  selector: '<%= selector %>',
  imports: [NzPageHeaderModule],
  <% if(inlineTemplate) { %>template: `
    <nz-page-header (nzBack)="onBack()" nzBackIcon nzTitle="Title" nzSubtitle="This is a subtitle"></nz-page-header>
  `<% } else { %>templateUrl: './<%= dasherize(name) %>.component.html'<% } %>
})
export class <%= classify(name) %>Component {
  onBack(): void {
    console.log('onBack');
  }
}
