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

Allow to remove the icon in the Message component #2495

Closed
DannyFeliz opened this issue Feb 23, 2022 · 0 comments · Fixed by #2503
Closed

Allow to remove the icon in the Message component #2495

DannyFeliz opened this issue Feb 23, 2022 · 0 comments · Fixed by #2503
Labels
feature request New feature or request priority: high

Comments

@DannyFeliz
Copy link
Contributor

This function solves the problem (这个功能解决的问题)

It would be cool if we could get rid of the icon in the Message component. I need the message with the close action with a blue background, I'm not interested in the icon space.

Expected API (期望的 API)

Right now, we have the icon prop, which only accepts a VNodeChild it would be nice to allow null and the will remove the icon space in the Message.

@github-actions github-actions bot added the feature request New feature or request label Feb 23, 2022
@DannyFeliz DannyFeliz changed the title Allow to remove the Message icon Allow to remove the icon in the Message component Feb 23, 2022
@XieZongChen XieZongChen linked a pull request Feb 27, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request priority: high
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants