Skip to content

Make ToastMessages onMessageDismiss prop receive the message object #1273

Description

@acelaya

As implemented in #1272, the onMessageDismiss prop is a callback that receives the message to be dismissed id.

This is consistent to how frontend apps have been using this kind of component, but requires duplicating extra logic in order to determine which message was dismissed.

For next major release we want to change this so that the whole message is passed to the callback.

Activity

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