@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 |
error with header text and messages array
success
info