Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 654 Bytes

README.md

File metadata and controls

33 lines (23 loc) · 654 Bytes

Alert Component

Display success, warning and error messages.

Pull request: #26

Usage
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>
Close event
<rx-alert @onClose=${(alert) => {console.log(alert);}} palette="default">text</rx-alert>