Last active
March 25, 2020 01:48
-
-
Save GreenGeorge/ae24e7d6243933bcf26b624b577cf95d to your computer and use it in GitHub Desktop.
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
// ... | |
CF.customerReady(() => { | |
const customer = CF.customer.get('code'); | |
const props = {customer: customer}; | |
const container = document.getelementById('container'); | |
const formElement = React.createElement(form, props) | |
ReactDOM.render(formElement, container); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment