Skip to content

Commit

Permalink
Update Toast Props (#1911)
Browse files Browse the repository at this point in the history
* Use ReactNode for Toast description prop

* Add changeset
  • Loading branch information
JasonMHasperhoven authored Nov 18, 2024
1 parent 9f4caa7 commit 95a22f0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/funny-onions-occur.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@penumbra-zone/ui': patch
---

Update Toast description prop
2 changes: 1 addition & 1 deletion packages/ui/src/Toast/open.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const toastFnMap: Record<ToastType, ToastFn> = {
export interface ToastProps {
type: ToastType;
message: string;
description?: string;
description?: ReactNode;
persistent?: boolean;
dismissible?: boolean;
action?: ExternalToast['action'];
Expand Down

0 comments on commit 95a22f0

Please sign in to comment.