Skip to content

Notification能否有堆叠的效果,antd有堆叠的模式,stack #7868

@Lazydd

Description

@Lazydd
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

堆叠模式,超过阈值时会将所有消息收起

What does the proposed API look like?

const openNotification = () => {
  notification.open({
    message: 'Notification Title',
    stack: true,
    threshold: 3,
    description:
    'This is the content of the notification.',
  });
};

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions