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

import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzIconModule } from 'ng-zorro-antd/icon';

@Component({
  selector: '<%= selector %>',
  imports: [NzButtonModule, NzIconModule],
  <% if(inlineTemplate) { %>template: `
    <button nz-button nzType="primary" nzShape="circle">
      <nz-icon nzType="search" />
    </button>
    <button nz-button nzType="primary" nzShape="circle">A</button>
    <button nz-button nzType="primary">
      <nz-icon nzType="search" />
      Search
    </button>
    <button nz-button nzType="default" nzShape="circle">
      <nz-icon nzType="search" />
    </button>
    <button nz-button nzType="default">
      <nz-icon nzType="search" />
      Search
    </button>
    <br />
    <button nz-button nzType="default" nzShape="circle"><nz-icon nzType="search" /></button>
    <button nz-button nzType="default">
      <nz-icon nzType="search" />
      Search
    </button>
    <button nz-button nzType="dashed" nzShape="circle"><nz-icon nzType="search" /></button>
    <button nz-button nzType="dashed">
      <nz-icon nzType="search" />
      Search
    </button>
  `<% } else { %>templateUrl: './<%= dasherize(name) %>.component.html'<% } %>,
  <% if(inlineStyle) { %>styles: [`
      [nz-button] {
        margin-right: 8px;
        margin-bottom: 12px;
      }
    `]<% } else { %>styleUrls: ['./<%= dasherize(name) %>.component.<%= style %>']<% } %>
})
export class <%= classify(name) %>Component {}
