Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Commit

Permalink
Fix: Heading and renderIcon not being passed to the toast component
Browse files Browse the repository at this point in the history
  • Loading branch information
devAadmi committed Jan 10, 2020
1 parent c848fab commit efae183
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
### Features


- 4.2.1

- Fix: Heading and renderIcon not being passed to the toast component


- 4.2.0

- Refactored entire codebase to TypeScript.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "cogo-toast",
"description": "Beautiful, Zero Configuration, Toast Messages - Built with React",
"version": "4.2.0",
"version": "4.2.1",
"license": "MIT",
"scripts": {
"setup": "pnpm install && cd docs && pnpm install",
Expand Down
1 change: 1 addition & 0 deletions src/components/ToastContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const ToastContainer: React.FC<CToastContainerProps> = ({ toast, hiddenID }) =>
{allToasts[type].map((item: CToastItem) => (
<Toast
key={`${type}_${item.id}`}
{...item}
id={item.id}
text={item.text}
type={item.type}
Expand Down

0 comments on commit efae183

Please sign in to comment.