17 lines
467 B
TypeScript
17 lines
467 B
TypeScript
import { CommonModule } from "@angular/common";
|
|
import { Component, Input } from "@angular/core";
|
|
import { TranslationPipe } from "../../pipes/translation.pipe";
|
|
|
|
@Component({
|
|
standalone: true,
|
|
selector: "app-link",
|
|
imports: [CommonModule, TranslationPipe],
|
|
templateUrl: "./link.component.html",
|
|
styleUrls: ["./link.component.less"],
|
|
})
|
|
export class LinkComponent {
|
|
@Input() url: string = "#";
|
|
@Input() svg: string = "";
|
|
@Input() text: string = "";
|
|
}
|