@modul/mbui 0.0.36-beta-pv-53652-d8ae90a7 → 0.0.36-beta-pv-53653-c5471157
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/Toaster/Toaster.d.ts +2 -2
- package/dist/Toaster/index.d.ts +1 -1
- package/dist/Toaster/index.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
@@ -1,5 +1,5 @@
|
|
1
1
|
import React, { ReactNode } from 'react';
|
2
|
-
import { ToasterProps, ExternalToast } from 'sonner';
|
2
|
+
import { ToasterProps, ExternalToast, useSonner } from 'sonner';
|
3
3
|
declare const Toaster: {
|
4
4
|
({ ...props }: ToasterProps): React.JSX.Element;
|
5
5
|
displayName: string;
|
@@ -10,4 +10,4 @@ interface IToast {
|
|
10
10
|
snackbar: (title?: string | ReactNode, options?: ExternalToast) => React.ReactNode;
|
11
11
|
}
|
12
12
|
declare const toast: IToast;
|
13
|
-
export { Toaster, toast };
|
13
|
+
export { Toaster, toast, useSonner };
|
package/dist/Toaster/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export { Toaster, toast } from './Toaster';
|
1
|
+
export { Toaster, toast, useSonner } from './Toaster';
|