Skip to content

feat: pass ToastShowParams to onShow callback#588

Open
yagiz2000 wants to merge 1 commit into
calintamas:mainfrom
yagiz2000:feat/pass-params-to-onshow
Open

feat: pass ToastShowParams to onShow callback#588
yagiz2000 wants to merge 1 commit into
calintamas:mainfrom
yagiz2000:feat/pass-params-to-onshow

Conversation

@yagiz2000
Copy link
Copy Markdown

Summary

  • Pass ToastShowParams to the onShow callback so consumers can access toast data (type, text, props, etc.) when a toast is shown
  • Updated type definitions for both ToastOptions and ToastProps

Closes #587

Test plan

  • Verify onShow callback receives the correct ToastShowParams when a toast is shown
  • Verify existing usage without onShow params still works (backward compatible)
  • Verify TypeScript types are correct

🤖 Generated with Claude Code

Closes calintamas#587

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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.

feat: pass ToastShowParams to onShow callback

1 participant