Skip to content

spedy/react-notifications

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

animated

Usage

Move component in your highest main react component.

import Notifications from "./Notifications"


class Main extends React.Component {

    render(){
        return (
            <div>
                <Notifications/>
            </div>
        )
    }
}

call notification anywhere inside your main component or child components

import {showNotification} from "./Notifications"

showNotification({text: "We could not find any data!"})

About

React Notifications Component

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published