Created
July 27, 2016 19:35
-
-
Save timcase/99b7da37191f05f85757329228ab0975 to your computer and use it in GitHub Desktop.
NPM integration example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SweetAlert = require('react-swal') | |
AlertComponent = React.createClass | |
render: -> | |
<SweetAlert isOpen={true} type="warning" confirmButtonText="Yup" | |
cancelButtonText="Nope"/> | |
module.exports = AlertComponent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment