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

import { presetColors } from 'ng-zorro-antd/core/color';
import { NzTagModule } from 'ng-zorro-antd/tag';

@Component({
  selector: '<%= selector %>',
  imports: [NzTagModule],
  <% if(inlineTemplate) { %>template: `
    @for (color of tagColors; track color) {
      <nz-tag [nzColor]="color" [nzBordered]="false">{{ color }}</nz-tag>
    }
  `<% } else { %>templateUrl: './<%= dasherize(name) %>.component.html'<% } %>
})
export class <%= classify(name) %>Component {
  readonly tagColors = presetColors;
}
