import {Component, Input, OnInit} from '@angular/core'; export type ButtonType = null | 'primary' | 'secondary' | 'neutral' | 'dismiss'; @Component({ selector: 'onguard-button', templateUrl: './button.component.html', styleUrls: ['./button.component.scss'] }) export class ButtonComponent implements OnInit { @Input('buttonType') buttonType: ButtonType = 'neutral'; constructor() { } ngOnInit(): void { } }