1.0.10-np • Published 1 year ago

prys-toast-library v1.0.10-np

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

toast-lib-pryst

Installing

 $ yarn add toast-lib-pryst
 $ npm install --save toast-lib-pryst

How to use

   import { ToastProvider, toastService } from 'toast-lib-pryst'
  1. Create useState to store toasts
const [toast, setToast] = useState([])
  1. Create a toast with the necessary parameters
    toastService.createToast({
    duration = 3,
    title = 'Default',
    position = 'right-top',
    description = 'default',
    animation = 'smooth',
    offset = 5,
    type = 'success',
    color,
    })
    
1.0.10-np

1 year ago

1.0.9

1 year ago

1.0.8

1 year ago

1.0.7

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago