Skip to content

Codebrahma/react-notifications-menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

react-notifications-menu

A React Component used to render notifications with default styles and also allows to customize entire notification component by providing necessary props and styles.

NPM JavaScript Style Guide

Getting Started

Install

Install using npm or yarn

npm install --save react-notifications-menu

or

yarn add --save react-notifications-menu

Basic Usage

import Notifications from "react-notifications-menu";

const Example = () => {
  return (
    <Notifications
      renderItem={CustomComponent}
      classNamePrefix='okrjoy'
      headerBackgroundColor='red'
    />
  );
};

To know more, visit react-notifications-menu docs

Demo

To view the demo of the Notification component in the code sandbox. Click here.