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

Need to add "question" to types #95

Open
aph-vsn opened this issue Jul 13, 2017 · 1 comment
Open

Need to add "question" to types #95

aph-vsn opened this issue Jul 13, 2017 · 1 comment

Comments

@aph-vsn
Copy link

aph-vsn commented Jul 13, 2017

No description provided.

@aph-vsn aph-vsn changed the title Need to add question to type Need to add question to types Jul 13, 2017
@aph-vsn aph-vsn changed the title Need to add question to types Need to add "question" to types Jul 13, 2017
@osw4l
Copy link

osw4l commented Jun 16, 2018

is so easy, you can add the type that you want, you see :
first, remember import this:

import SweetAlert from 'sweetalert-react'; import 'sweetalert/dist/sweetalert.css';
second step

<SweetAlert type="success" show={this.state.show} title="Demo" text="SweetAlert in React" onConfirm={() => this.setState({ show: false })} />

also, you can use another types differents that success, like : "info", "warning" "danger"

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