Created
February 2, 2016 19:00
-
-
Save gtan66/4c2fb4c1a46f2d796563 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
export default React.createClass({ | |
rightButtons() { | |
return [ | |
{ text: "Close", type: "secondary", callback: this.props.onDismiss } | |
]; | |
}, | |
componentDidMount() { | |
JumioClient.setVars({ | |
authorizationToken: this.props.transactionToken | |
}).initVerify("JUMIOIFRAME"); | |
}, | |
render() { | |
return ( | |
<Modal onDismiss={this.props.onDismiss} | |
rightButtons={this.rightButtons()} | |
> | |
<div id="JUMIOIFRAME"></div> | |
</Modal> | |
); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment