Created
August 24, 2020 21:25
-
-
Save orbitmechanic/8cfaa0f04519af42008ce3638066168f to your computer and use it in GitHub Desktop.
Transform <div id='hello'> <p>Lorum, ipsum.</p> </div> into JSX
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
React.createElement( | |
"div", { | |
id: "hello" | |
}, | |
React.createElement( | |
"p", | |
null, | |
"Lorem, ipsum." | |
) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment