mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 22:34:24 +00:00
Importing contract and bootstrap css
This commit is contained in:
parent
1dc513cdec
commit
83644b939f
@ -179,6 +179,19 @@ class {{contractName}}UI extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
class {{contractName}}UI extends React.Component {
|
||||||
|
constructor (props) {
|
||||||
|
super(props);
|
||||||
|
this.state = {
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
render(){
|
||||||
|
return (<h2>Test</h2>);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
ReactDOM.render(<div>
|
ReactDOM.render(<div>
|
||||||
<h1>{{title}}</h1>
|
<h1>{{title}}</h1>
|
||||||
<{{contractName}}UI />
|
<{{contractName}}UI />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user