Skip to content

Feat: Toast can't use custom severity #7756

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

EasonLin0716
Copy link
Contributor

Feature Requests

Toast: can't use custom severity

This issue highlights that TypeScript users are unable to add custom properties because such additions fail TypeScript’s type checking. This PR introduces a new property named slotContext, which accepts a Record<string, any>. It enables users to define custom key-value pairs for slots.

If needed, I’m happy to contribute an example to the Toast documentation.

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