mirror of https://github.com/Squidex/squidex.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
627 B
27 lines
627 B
/*
|
|
* Squidex Headless CMS
|
|
*
|
|
* @license
|
|
* Copyright (c) Squidex UG (haftungsbeschränkt). All rights reserved.
|
|
*/
|
|
|
|
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
|
|
import { FeatureDto } from '@app/shared';
|
|
|
|
@Component({
|
|
selector: 'sqx-news-dialog',
|
|
styleUrls: ['./news-dialog.component.scss'],
|
|
templateUrl: './news-dialog.component.html'
|
|
})
|
|
export class NewsDialogComponent {
|
|
@Output()
|
|
public close = new EventEmitter();
|
|
|
|
@Input()
|
|
public features: ReadonlyArray<FeatureDto>;
|
|
|
|
public trackByFeature(index: number, feature: FeatureDto) {
|
|
return feature;
|
|
}
|
|
}
|