1 2 3 4 5 6 7 8 9 10 11 12
import { Component, Input } from '@angular/core' @Component({ selector: 'my-edit-button', styleUrls: [ './button.component.scss' ], templateUrl: './edit-button.component.html' }) export class EditButtonComponent { @Input() label: string @Input() routerLink = [] }