1.0.4 ā€¢ Published 1 year ago

react-toasting v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

React-Toasting

šŸŽ‰ React-Toasting allows you to add notifications to your app with ease. No more nonsense!

Installation

$ npm install --save react-toasting
$ yarn add react-toasting

The gist

  import React from 'react';

  import { ToastContainer, toast } from 'react-toastify';
  
  function App(){
    const notify = () => toast({
		title: 'Title',
		message: 'Message',
		duration: 5000,
		type: 'success',
		textColor: '#0000',
		backgroundColor: '#FFFF',
	});

    return (
      <div>
        <button onClick={notify}>Notify!</button>
        <ToastContainer />
      </div>
    );
  }
1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago