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