RLH-14 - Implement Button component

This commit is contained in:
2024-11-04 09:31:29 +01:00
parent 02b8ce1655
commit ec27ad7ee2
3 changed files with 22 additions and 9 deletions

View File

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