@ngx-bio-components/alert
TypeScript icon, indicating that this package has built-in type declarations

0.0.7 • Public • Published

@ngx-bio-components/alert

import { BioAlertModule } from '@ngx-bio-components/alert';
<bio-alert [alert]="alert"></bio-alert>
export type Alert = {
    type?: 'error' | 'success' | 'warning' | 'info';
    messages?: string[];
    message?: string;
    headerText?: string;
    show?: boolean;
};
Name Description
@Input() alert: Alert Alert input
@Output() buttonClicked: EventEmitter Alert input

warning Ekran Resmi 2022-08-17 18 16 01

error with header text and messages array

Ekran Resmi 2022-08-17 18 15 32

success

Ekran Resmi 2022-08-17 18 15 52

info

Ekran Resmi 2022-08-17 18 15 41

Package Sidebar

Install

npm i @ngx-bio-components/alert

Weekly Downloads

1

Version

0.0.7

License

MIT

Unpacked Size

85.6 kB

Total Files

13

Last publish

Collaborators

  • umutyerebakmaz