@@ -315,16 +283,20 @@ export class NzTestTimelineCustomColorComponent {}
export class NzTestTimelinePendingComponent {}
@Component({
+ standalone: true,
+ imports: [NzTimelineModule],
template: `
Right
- Left
+ Left
`
})
export class NzTestTimelineCustomPositionComponent {}
@Component({
+ standalone: true,
+ imports: [BidiModule, NzTestTimelineBasicComponent],
template: `
@@ -333,10 +305,12 @@ export class NzTestTimelineCustomPositionComponent {}
})
export class NzTestTimelineRtlComponent {
@ViewChild(Dir) dir!: Dir;
- direction = 'rtl';
+ direction: Direction = 'rtl';
}
@Component({
+ standalone: true,
+ imports: [NzTimelineModule],
template: `
@for (item of data; track item) {