packages/ui/src/lib/notifications/with-notifications.interface.ts
This interface can be used on a component that uses notifications.
Properties |
|
notifications |
notifications:
|
Type : Notification[]
|
Optional |
Stores notification history for later access. E.g. stores errors that should be hidden later. |
silent |
silent:
|
Type : boolean
|
Optional |
If true, no notifications will be emitted |
import { Notification } from './notification';
/** This interface can be used on a component that uses notifications. */
export interface WithNotifications {
/** Stores notification history for later access. E.g. stores errors that should be hidden later. */
notifications?: Notification[];
/** If true, no notifications will be emitted */
silent?: boolean;
}