Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
1 task
Lazydd opened this issue Sep 30, 2024 · 0 comments
Open
1 task

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

Lazydd opened this issue Sep 30, 2024 · 0 comments

Comments

@Lazydd
Copy link

Lazydd commented Sep 30, 2024

  • 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.',
  });
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants