import { autoinject, computedFrom } from "aurelia-framework";
import { bindable, customElement } from "aurelia-templating";

@customElement('ui-alert')
@autoinject
export class UIAlert {

    @bindable
    private label: string;
    @bindable
    private type: 'success' | 'info' | 'danger' | 'warning';
    @bindable
    private size: 'sm' | 'md' | 'lg' | 'xl' = 'md';
    @bindable
    private dismiss: () => void;
}