Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 4bada91

Browse files
oveitsdlabrecq
authored andcommitted
Replaced NotificationModule by ToastNotificationModule (#445)
If I follow the instructions in the README, I get an error ``` "export 'NotificationModule' was not found in 'patternfly-ng' ``` since NotificationModule is not found. ToastNotificationModule is found, and fits the component added to the HTML template, i.e. `<pfng-toast-notification />` .
1 parent 28749c6 commit 4bada91

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ This example demonstrates using the Angular-cli to get started with PatternFly-n
3838
- open `src/app/app.module.ts` and add
3939

4040
```typescript
41-
import { NotificationModule } from 'patternfly-ng/notification';
41+
import { ToastNotificationModule } from 'patternfly-ng/notification';
4242
// Or
43-
import { NotificationModule } from 'patternfly-ng';
43+
import { ToastNotificationModule } from 'patternfly-ng';
4444
...
4545

4646
@NgModule({
4747
...
48-
imports: [NotificationModule, ... ],
48+
imports: [ToastNotificationModule, ... ],
4949
...
5050
})
5151
```

0 commit comments

Comments
 (0)