Skip to content

Commit

Permalink
expose toastify methods to Notify
Browse files Browse the repository at this point in the history
  • Loading branch information
kishkoigor committed Oct 13, 2023
1 parent d247828 commit ab8b38a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@airdao/ui-library",
"version": "1.1.6",
"version": "1.1.7",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"types": "dist/index.d.ts",
Expand Down
1 change: 1 addition & 0 deletions src/components/Notification/Notify.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ const notifyLoading = (message: React.ReactNode, description: React.ReactNode, o
}

export const Notify = {
...toast,
info: notifyInfo,
success: notifySuccess,
warn: notifyWarning,
Expand Down

0 comments on commit ab8b38a

Please sign in to comment.