3.0.21 • Published 7 months ago

mobin-toast v3.0.21

Weekly downloads
-
License
-
Repository
-
Last release
7 months 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.21

7 months ago

3.0.20

7 months ago

3.0.19

7 months ago

3.0.18

9 months ago

3.0.13

10 months ago

3.0.16

9 months ago

3.0.17

9 months ago

3.0.14

10 months ago

3.0.15

9 months ago

3.0.12

1 year ago

3.0.11

1 year ago

3.0.4

1 year ago

3.0.3

1 year ago

3.0.10

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.8

1 year ago

3.0.7

1 year ago

3.0.6

1 year ago

3.0.5

1 year ago

3.0.0

1 year ago

2.0.7

1 year ago

3.0.9

1 year ago

2.0.6

2 years ago

2.0.5

2 years ago

2.0.4

2 years ago

2.0.3

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.0.31

2 years ago

1.0.0

2 years ago

1.0.30

2 years ago