import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { DatePipe } from '@shared/pipes/date.pipe';

@Component({
    selector: 'redaction-date-column [date]',
    templateUrl: './date-column.component.html',
    changeDetection: ChangeDetectionStrategy.OnPush,
    standalone: true,
    imports: [DatePipe],
})
export class DateColumnComponent {
    @Input() isError = false;
    @Input() date: string;
}
