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

Alert prop banner ignores other props #5800

Closed
Sicria opened this issue Apr 19, 2017 · 3 comments
Closed

Alert prop banner ignores other props #5800

Sicria opened this issue Apr 19, 2017 · 3 comments
Assignees

Comments

@Sicria
Copy link

Sicria commented Apr 19, 2017

Version

2.9.1

Environment

Chrome

Reproduction link

https://ant.design/components/alert/#components-alert-demo-banner

Steps to reproduce

View the demo example.

What is expected?

It's expected that the Alert is styled using the other props but is not when using the banner=true prop.

What is actually happening?

The alert displays as a warning with the icon.


If this is not a bug, can you please add a comment to the docs.

@benjycui
Copy link
Contributor

Ref: #2600

It seems that it is by designed.

@afc163
Copy link
Member

afc163 commented Apr 19, 2017

Should allow user to override it.

@lock
Copy link

lock bot commented May 1, 2018

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked and limited conversation to collaborators May 1, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants