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

UiAlert properties #468

Open
EmilMoe opened this issue Sep 28, 2019 · 1 comment
Open

UiAlert properties #468

EmilMoe opened this issue Sep 28, 2019 · 1 comment

Comments

@EmilMoe
Copy link
Contributor

EmilMoe commented Sep 28, 2019

I have 2 suggestions to this component:

  1. To make it more consistent with the rest of your UI it should have the "icon" property.

  2. I think Vue works best if boolean properties are false by default, thus prettier and easier to set. The dismissible should therefor be something that it's false. It could be either not-dismissible by default or the prop could be changed to (ie) irremovable or persist.

@JosephusPaye
Copy link
Owner

Hi Emil,

Those suggestions make sense, but they'll probably be breaking changes. Can make the changes in the next major release.

PR welcome.

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