toast
/
1.5.1
toast 1.5.1
Install from the command line:
Learn more about npm packages
$ npm install @infusedui/toast@1.5.1
Install via package.json:
"@infusedui/toast": "1.5.1"
About this version
To add @infusedui
to you project you need to create a .npmrc
file at the same folder base of you package.json
with this line :
@infusedui:registry=https://npm.pkg.github.com
@infusedui/toast
provide to you 2 element and 1 hook with 2 functions :
- provider:
<ToastProvider>
- component: render toast notifications
- hooks: useToast()
<ToastProvider>{/* Some other things of your apps */}</ToastProvider>