Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ReactNode to Toast description prop type #1899

Merged
merged 3 commits into from
Nov 4, 2024
Merged

Conversation

JasonMHasperhoven
Copy link
Contributor

Add ReactNode to Toast description prop type.

Needed to provide a progress bar to the transaction toast.

@JasonMHasperhoven JasonMHasperhoven requested a review from a team November 4, 2024 13:14
Copy link

changeset-bot bot commented Nov 4, 2024

🦋 Changeset detected

Latest commit: 2b58f3b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@penumbra-zone/ui Minor
minifront Patch
node-status Patch
@repo/tailwind-config Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

@VanishMax VanishMax left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: in string | ReactNode, the string | part could be removed

Copy link
Contributor

github-actions bot commented Nov 4, 2024

Visit the preview URL for this PR (updated for commit 2b58f3b):

https://penumbra-ui-preview--pr1899-toast-prop-type-wqoev08o.web.app

(expires Mon, 11 Nov 2024 13:23:37 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 709d729610ef7a6369b23f1cb2b820a60cc685b1

@JasonMHasperhoven
Copy link
Contributor Author

nitpick: in string | ReactNode, the string | part could be removed

Just curious, why is it preferred?

@JasonMHasperhoven JasonMHasperhoven merged commit 2484bdc into main Nov 4, 2024
8 checks passed
@JasonMHasperhoven JasonMHasperhoven deleted the toast-prop-type branch November 4, 2024 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants