From 83644b939fe5d43fab1a4498012196a3243dae17 Mon Sep 17 00:00:00 2001 From: Richard Ramos Date: Thu, 10 May 2018 12:31:10 -0400 Subject: [PATCH] Importing contract and bootstrap css --- lib/modules/scaffolding-react/templates/dapp.js.tpl | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lib/modules/scaffolding-react/templates/dapp.js.tpl b/lib/modules/scaffolding-react/templates/dapp.js.tpl index c0827fc7..f209a296 100644 --- a/lib/modules/scaffolding-react/templates/dapp.js.tpl +++ b/lib/modules/scaffolding-react/templates/dapp.js.tpl @@ -179,6 +179,19 @@ class {{contractName}}UI extends React.Component { } +class {{contractName}}UI extends React.Component { + constructor (props) { + super(props); + this.state = { + }; + } + + render(){ + return (

Test

); + } +} + + ReactDOM.render(

{{title}}

<{{contractName}}UI />