]> source.dussan.org Git - vaadin-core.git/commitdiff
Update integrations-react.adoc
authorSauli Tähkäpää <sauli.tahkapaa@outlook.com>
Thu, 22 Dec 2016 09:46:54 +0000 (11:46 +0200)
committerGitHub <noreply@github.com>
Thu, 22 Dec 2016 09:46:54 +0000 (11:46 +0200)
docs/integrations/integrations-react.adoc

index 6eb4a4fc4df96d1d7d5d09da913f1a6d03f6446f..d312296914a8765fb459d9d45668dbe0bf7cd76a 100644 (file)
@@ -38,7 +38,7 @@ The code below can be run and forked as a JSFiddle at https://jsfiddle.net/pw1nL
 var UserGrid = React.createClass({
   render: function(){
     return (
-      <vaadin-grid></vaadin-grid>
+      '<vaadin-grid></vaadin-grid>';
     )
   },
 
@@ -116,6 +116,6 @@ var UserApp = React.createClass({
 });
 
 HTMLImports.whenReady(function(){
-  ReactDOM.render(<UserApp></UserApp>, document.getElementById('container'));
+  ReactDOM.render('<UserApp></UserApp>', document.getElementById('container'));
 });
 ----