sb-element
Version:
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 12.0.1. It is a component library constructed around the SCSS library [Sb-Theming](https://github.com/SeverinBuchser/SbTheming) and supports [Angular Schematics]
22 lines (21 loc) • 466 B
TypeScript
import { Color, Size } from "../../core";
/**
* This interface describes an alert.
*
* The interface is used by the {@link AlertService} to create alerts and work
* with the {@link AlertServiceSubscriber} which use/show the alerts.
*/
export interface SbAlert {
/**
* The message of the alert.
*/
message: string;
/**
* The size of the alert.
*/
size: Size;
/**
* The color of the alert.
*/
color: Color;
}