Feature request: optional close icon for messages
See original GitHub issueWhat problem does this feature solve?
Real use case: a user creates a new API key, we generate a key, show it to him and redirect to the list of API keys. The key will be shown only once, so it’s not visible on any specific page where I could’ve used <Alert>
. I set the duration to 0 because it will be shown only once. But once user copied/saved the key it can close the message. It would be great to have optional “X” icon like Alerts have.
What does the proposed API look like?
const closable = true;
message.info("Message", 0, closable);
Issue Analytics
- State:
- Created a year ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Option to display Message icon instead of the new Notification ...
Feature Request : Option to display Message icon instead of the new Notification feature. Old vs new comparison.
Read more >Feature Request for a customize option to send follow up emails
Hi, I would like to request for a customize option to send follow up emails, where I can pick the specific date when...
Read more >How to Hide Message Button on Facebook ... - YouTube
Learn How to Hide Message Button on Facebook! (Disable Message Option )In this video I show you how to hide your message button...
Read more >Send feedback or suggest a feature - Microsoft Support
Send feedback or suggest a feature · Tap your profile picture. · Tap Settings Settings button . · Tap Help & feedback Teams...
Read more >Can't turn on chat features - Messages Help - Google Support
Check your Chat Features status: Open the Messages app . ... (Optional) Check the Carrier Services app version: Most devices come with Carrier...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could you not just use a
<Notification>
instead? Has all the same features of a message and it’s closeable.I’m not sure so does it support the middle placement or not?