Last active
October 15, 2020 07:20
-
-
Save Kethku/51221a6e3bc9241e1be2d4f7f05c2402 to your computer and use it in GitHub Desktop.
React Quil
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
<div id="app"></div> |
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
{ | |
"scriptType": "module", | |
"styles": [ | |
"font-awesome" | |
] | |
} |
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
import React from "http://unpkg.com/react?module"; | |
import ReactDOM from "unpkg.com/react?module"; | |
/*const QuillEditor = () => { | |
let quillRef = null; | |
let reactQuillRef = null; | |
return ( | |
<div> | |
<p>Test</p> | |
</div> | |
) | |
}*/ | |
function App() { | |
return ( | |
<div> | |
<p>Foo</p> | |
</div> | |
); | |
} | |
ReactDOM.render(<App />, document.getElementById("app")); |
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
body { | |
background-color: lightblue; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment