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

import { NzSegmentedModule } from 'ng-zorro-antd/segmented';

@Component({
  selector: '<%= selector %>',
  imports: [NzSegmentedModule],
  <% if(inlineTemplate) { %>template: `
    <nz-segmented [nzOptions]="options" nzSize="small" />
    <br />
    <nz-segmented [nzOptions]="options" />
    <br />
    <nz-segmented [nzOptions]="options" nzSize="large" />
  `<% } else { %>templateUrl: './<%= dasherize(name) %>.component.html'<% } %>,
  <% if(inlineStyle) { %>styles: [`
      .ant-segmented {
        margin-bottom: 10px;
      }
    `]<% } else { %>styleUrls: ['./<%= dasherize(name) %>.component.<%= style %>']<% } %>
})
export class <%= classify(name) %>Component {
  options = ['Daily', 'Weekly', 'Monthly', 'Quarterly', 'Yearly'];
}
