fkhadra / fkhadra/react-toastify

useNotificationCenter docs are not correct

Open
#1,266 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
13.4k
Forks
741
PR merge metrics
No merged PRs in 30d

Description

Hi there, just wanted to point out that in `react-toastify": "^11.0.5` the path to import useNotificationCenter is the following:
```node
import { useNotificationCenter } from "react-toastify/addons/use-notification-center";
```

this does not match the documentation:
https://fkhadra.github.io/react-toastify/addons/use-notification-center#import
```node
import { useNotificationCenter } from "react-toastify/addons/useNotificationCenter"
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.