Skip to content

SonnerService.Clear() and a destructive ContextMenuItem #61

Closed

Description

@Shewart

Summary

Two small API gaps:

  1. SonnerService has no way to dismiss every toast. Add Clear() (dismiss all, with the exit animation).
  2. ContextMenuItem has no destructive style for items like "Delete". Add Destructive (red text, like shadcn's variant="destructive").

Both in the package and the CLI templates, with tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions