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

import { NzButtonModule } from 'ng-zorro-antd/button';
import { NzSpaceModule } from 'ng-zorro-antd/space';

@Component({
  selector: '<%= selector %>',
  imports: [NzButtonModule, NzSpaceModule],
  <% if(inlineTemplate) { %>template: `
    <nz-space [nzSize]="[8, 16]" nzWrap>
      @for (item of items; track $index) {
        <button *nzSpaceItem nz-button>Button</button>
      }
    </nz-space>
  `<% } else { %>templateUrl: './<%= dasherize(name) %>.component.html'<% } %>
})
export class <%= classify(name) %>Component {
  items = new Array(20).fill(null);
}
