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

[Feature request] Alert component #27

Closed
guastallaigor opened this issue Nov 9, 2018 · 0 comments
Closed

[Feature request] Alert component #27

guastallaigor opened this issue Nov 9, 2018 · 0 comments

Comments

@guastallaigor
Copy link
Contributor

What problem does this feature solve?

This feature request is to add a new alert component kind of like this.

What is your proposed solution?

An alert component <dm-alert> with this props:

Prop Type Default Description
active Boolean false If true then the component is visible.
title String null Set the alert title.
closable Boolean false If true then the user can close the alert left clicking the close material icon.
icon String null Add a left icon (see material icons).
icon-size String "default" Set the icon size."mini" | "small" | "default" | "medium" | "large"
color String black Set the alert color."black" | "blue" | "green" | "orange" | "red" | "white"

Note: I already have the code and I will make a PR to see if you approve it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants