import { JsonPipe } from '@angular/common';
import { Component } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { RangePickerDirective } from '@yelon/abc/date-picker';
import { NzDatePickerModule } from 'ng-zorro-antd/date-picker';
@Component({
selector: 'components-date-picker-basic',
template: `
result: {{ i | json }}<br />
<nz-range-picker [(ngModel)]="i.start" extend [(ngModelEnd)]="i.end" />
`,
standalone: true,
imports: [JsonPipe, FormsModule, NzDatePickerModule, RangePickerDirective]
})
export class ComponentsDatePickerBasicComponent {
i: { start?: Date; end?: Date } = {};
}