2018-05-10 16:31:10 +00:00
|
|
|
import EmbarkJS from 'Embark/EmbarkJS';
|
|
|
|
import {{contractName}} from 'Embark/contracts/{{contractName}}';
|
|
|
|
|
2018-05-10 16:16:13 +00:00
|
|
|
import React from 'react';
|
|
|
|
import ReactDOM from 'react-dom';
|
|
|
|
import { Tabs, Tab } from 'react-bootstrap';
|
|
|
|
|
2018-05-10 16:31:10 +00:00
|
|
|
class {{contractName}}UI extends React.Component {
|
|
|
|
constructor (props) {
|
|
|
|
super(props);
|
|
|
|
this.state = {
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
render(){
|
|
|
|
return (<h2>Test</h2>);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2018-05-10 16:16:13 +00:00
|
|
|
ReactDOM.render(<div>
|
2018-05-10 16:31:10 +00:00
|
|
|
<h1>{{title}}</h1>
|
|
|
|
<{{contractName}}UI />
|
2018-05-10 16:16:13 +00:00
|
|
|
</div>,
|
|
|
|
document.getElementById('app')
|
|
|
|
);
|