1.0.4 • Published 12 months ago

react-component-notification v1.0.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
12 months ago

react-component-notification

Simple React notification component.

Check out demo here

Installation

npm install react-component-notification

or:

yarn add react-component-notification

Usage

import Notification from "react-simple-notification";

<Notification title="Amazing title" content="Your best content" />;
PropsDescriptionDefault valuetype
titletitle displayed in the notificationnullstring
contentcontent displayed in the notificationnullstring
closeTimeOutdelay to hide the notification (in ms)3000integer
iconicon in the notificationnullelement
classNameclassName of the notification containernullstring
positionposition on the screentop_leftstring

Possible position : top_left, top_center, top_right, bottom_left, bottom_center, bottom_right

Developed with ♥️ by Balzac 🥷🏻

1.0.4

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

12 months ago