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

import { NzSwitchModule } from 'ng-zorro-antd/switch';

@Component({
  selector: '<%= selector %>',
  imports: [FormsModule, NzSwitchModule],
  <% if(inlineTemplate) { %>template: `
    <nz-switch [ngModel]="true" nzLoading></nz-switch>
    <br />
    <br />
    <nz-switch nzSize="small" [ngModel]="false" nzLoading></nz-switch>
  `<% } else { %>templateUrl: './<%= dasherize(name) %>.component.html'<% } %>
})
export class <%= classify(name) %>Component {}
