|
1
|
import { Button, toast } from "@medusajs/ui" |
|
2
|
|
|
3
|
export default function DismissableToaster() { |
|
4
|
return ( |
|
5
|
<Button |
|
6
|
onClick={() => |
|
7
|
toast.info("Info", { |
|
8
|
description: "The quick brown fox jumps over the lazy dog.", |
|
9
|
dismissable: true, |
|
10
|
}) |
|
11
|
} |
|
12
|
> |
|
13
|
Show |
|
14
|
</Button> |
|
15
|
) |
|
16
|
} |