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