Thanks to visit codestin.com
Credit goes to github.com

Skip to content

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.

4 participants