A React Component used to render notifications with default styles and also allows to customize entire notification component by providing necessary props and styles.
Install using npm or yarn
npm install --save react-notifications-menu
or
yarn add --save react-notifications-menu
import Notifications from "react-notifications-menu";
const Example = () => {
return (
<Notifications
renderItem={CustomComponent}
classNamePrefix='okrjoy'
headerBackgroundColor='red'
/>
);
};
To know more, visit react-notifications-menu docs
To view the demo of the Notification component in the code sandbox. Click here.