You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mediarepo/mediarepo-ui/src/app/components/shared/tag/tag-item/tag-item.component.ts

19 lines
494 B
TypeScript

import {ChangeDetectionStrategy, Component, Input} from "@angular/core";
import {Tag} from "../../../../../api/models/Tag";
@Component({
selector: "app-tag-item",
templateUrl: "./tag-item.component.html",
styleUrls: ["./tag-item.component.scss"],
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class TagItemComponent {
@Input() tag!: Tag;
@Input() namespaceColor: string | undefined;
@Input() tagColor: string | undefined;
constructor() {
}
}