Keen-UI
Keen-UI copied to clipboard
UiAlert properties
I have 2 suggestions to this component:
-
To make it more consistent with the rest of your UI it should have the "icon" property.
-
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
orpersist
.
Hi Emil,
Those suggestions make sense, but they'll probably be breaking changes. Can make the changes in the next major release.
PR welcome.