export class ButtonModel { text: string = "text"; type: ButtonType; disabled: () => boolean; click: () => void; } export enum ButtonType { LINK = "btn-link", PRIMARY = "btn-primary", }