We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c95ba6 commit 1b010b3Copy full SHA for 1b010b3
playground/src/app/(demo)/sonner/page.tsx
@@ -1,32 +1,9 @@
1
'use client';
2
-import { Button, toast, useSonner } from 'soybean-react-ui';
+import { toast } from 'soybean-react-ui';
3
4
const SonnerPage = () => {
5
- const a = useSonner();
6
-
7
return (
8
<div>
9
- <button
10
- onClick={() =>
11
- toast('Hello', {
12
- duration: 100000
13
- })
14
- }
15
- >
16
- Click me
17
- </button>
18
19
20
21
- toast.success('Hello', {
22
- description: 'This is a description',
23
24
25
26
27
28
29
30
<button
31
onClick={() =>
32
toast.success('Hello', {
0 commit comments