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

import { NzBytesPipe } from 'ng-zorro-antd/pipes';

@Component({
  selector: '<%= selector %>',
  imports: [NzBytesPipe],
  <% if(inlineTemplate) { %>template: `
    <ul>
      <li>{{ 200 | nzBytes }}</li>
      <li>{{ 1024 | nzBytes }}</li>
      <li>{{ 1048576 | nzBytes }}</li>
      <li>{{ 1024 | nzBytes: 0 : 'KB' }}</li>
      <li>{{ 1073741824 | nzBytes }}</li>
      <li>{{ 1099511627776 | nzBytes }}</li>
      <li>{{ 1073741824 | nzBytes: 0 : 'B' : 'MB' }}</li>
    </ul>
  `<% } else { %>templateUrl: './<%= dasherize(name) %>.component.html'<% } %>
})
export class <%= classify(name) %>Component {}
