Skip to content

Commit

Permalink
Export ToasterProps
Browse files Browse the repository at this point in the history
  • Loading branch information
RakeshPotnuru committed Jan 2, 2024
1 parent 065e625 commit 0758197
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/thirty-months-fetch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@itsrakesh/ui": patch
---

Exported ToasterProps
2 changes: 1 addition & 1 deletion packages/ui/src/components/Toast/Toaster.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ const Toaster = ({ ...props }: ToasterProps) => {
);
};

export { Toaster, toast };
export { Toaster, toast, type ToasterProps };
2 changes: 1 addition & 1 deletion packages/ui/src/components/Toast/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { Toaster, toast } from "./Toaster";
export { Toaster, toast, type ToasterProps } from "./Toaster";

0 comments on commit 0758197

Please sign in to comment.