Skip to content

Commit 77a8d58

Browse files
authored
Updated imports in changelog
1 parent 8bbc2cc commit 77a8d58

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ npm run start
4444

4545
Import <code>react-notifications-component</code>
4646
```js
47-
import ReactNotification from 'react-notifications-component'
47+
import { ReactNotifications } from 'react-notifications-component'
4848
```
4949
Import the <code>CSS</code> theme
5050
```js
@@ -68,7 +68,7 @@ const App = () => {
6868

6969
Import <code>store</code> where needed - will be used to access `addNotification` and `removeNotification` API methods
7070
```js
71-
import { store } from 'react-notifications-component';
71+
import { Store } from 'react-notifications-component';
7272
```
7373

7474
Then call `addNotification` and watch the magic happens

0 commit comments

Comments
 (0)