3.0.12 ā€¢ Published 21 days ago

mobin-toast v3.0.12

Weekly downloads
-
License
-
Repository
-
Last release
21 days ago

mobin-toast

āœ” Mobin-Toast allows you to add notifications to your react app

Installation

$ npm install --save mobin-toast
$ yarn add mobin-toast

Features

  • Installing and using this package is very simple
  • Define behavior per toast
  • Fancy progress bar to display the remaining time
  • Possibility to update a toast
  • Dark šŸŒ’ and light ā˜€ mode
  • Ability to set the duration of toast display
  • Determinig where to display the toast, you can set four positions: top-right | top-left | bottom-right | bottom-left
  • types: success | warning | error | promise
  • And much more !

Example

  import React from 'react';

  import { ToastContainer, toast } from 'mobin-toast';
  
  const App = () => {

    const handleShowToast = () => toast({title:"mobin-toast",type:"success"})

    return (
      <div>
        <button onClick={handleShowToast}>Show Toast</button>
        <ToastContainer />
      </div>
    );
  }

License

Licensed under MIT

3.0.12

21 days ago

3.0.11

21 days ago

3.0.4

4 months ago

3.0.3

4 months ago

3.0.10

4 months ago

3.0.2

4 months ago

3.0.1

4 months ago

3.0.8

4 months ago

3.0.7

4 months ago

3.0.6

4 months ago

3.0.5

4 months ago

3.0.0

4 months ago

2.0.7

4 months ago

3.0.9

4 months ago

2.0.6

6 months ago

2.0.5

6 months ago

2.0.4

6 months ago

2.0.3

6 months ago

2.0.2

6 months ago

2.0.1

6 months ago

2.0.0

6 months ago

1.0.31

6 months ago

1.0.0

6 months ago

1.0.30

6 months ago