### File

`src/notification/notification.module.ts`

### Declarations

- Notification
- NotificationSubtitle
- NotificationTitle
- Toast
- ToastCaption
- ToastSubtitle
- ToastTitle

### EntryComponents

- Notification
- Toast

### Providers

- NotificationDisplayService
- NotificationService

### Imports

- ButtonModule
- ExperimentalModule
- I18nModule

### Exports

- Notification
- NotificationSubtitle
- NotificationTitle
- Toast
- ToastCaption
- ToastSubtitle
- ToastTitle

    import { NgModule } from "@angular/core";
    import { ButtonModule } from "../button/button.module";
    import { CommonModule } from "@angular/common";
    import { Close16Module } from "@carbon/icons-angular/lib/close/16";
    import { ErrorFilled16Module } from "@carbon/icons-angular/lib/error--filled/16";
    import { CheckmarkFilled16Module } from "@carbon/icons-angular/lib/checkmark--filled/16";
    import { WarningFilled16Module } from "@carbon/icons-angular/lib/warning--filled/16";

    import { Toast } from "./toast.component";
    import { ToastTitle } from "./toast-title.directive";
    import { ToastSubtitle } from "./toast-subtitle.directive";
    import { ToastCaption } from "./toast-caption.directive";
    import { NotificationTitle } from "./notification-title.directive";
    import { NotificationSubtitle } from "./notification-subtitle.directive";
    import { Notification } from "./notification.component";
    import { NotificationService } from "./notification.service";
    import { NotificationDisplayService } from "./notification-display.service";
    import { I18nModule } from "./../i18n/i18n.module";
    import { ExperimentalModule } from "./../experimental.module";

    export { NotificationService } from "./notification.service";
    export { NotificationDisplayService } from "./notification-display.service";
    export { Notification } from "./notification.component";
    export { Toast } from "./toast.component";
    export { ToastTitle } from "./toast-title.directive";
    export { ToastSubtitle } from "./toast-subtitle.directive";
    export { ToastCaption } from "./toast-caption.directive";
    export { NotificationTitle } from "./notification-title.directive";
    export { NotificationSubtitle } from "./notification-subtitle.directive";

    @NgModule({
    	declarations: [
    		Notification,
    		Toast,
    		ToastTitle,
    		ToastSubtitle,
    		ToastCaption,
    		NotificationTitle,
    		NotificationSubtitle
    	],
    	exports: [
    		Notification,
    		Toast,
    		ToastTitle,
    		ToastSubtitle,
    		ToastCaption,
    		NotificationTitle,
    		NotificationSubtitle
    	],
    	entryComponents: [Notification, Toast],
    	imports: [
    		ButtonModule,
    		CommonModule,
    		I18nModule,
    		ExperimentalModule,
    		Close16Module,
    		ErrorFilled16Module,
    		CheckmarkFilled16Module,
    		WarningFilled16Module
    	],
    	providers: [NotificationService, NotificationDisplayService]
    })
    export class NotificationModule {}

# result-matching ""

# No results matching ""