Display success, warning and error messages.
Pull request: #26
import { AlertComponent } from '@rxdi/ui-kit/alert';
@Module({
components: [AlertComponent]
})
export class AppModule {}
<rx-alert>text</rx-alert>
<rx-alert palette="default">text</rx-alert>
<rx-alert palette="primary">text</rx-alert>
<rx-alert palette="success">text</rx-alert>
<rx-alert palette="warning">text</rx-alert>
<rx-alert palette="danger">text</rx-alert>
<rx-alert @onClose=${(alert) => {console.log(alert);}} palette="default">text</rx-alert>