|
@ -113,7 +113,7 @@ |
|
|
render: function() { |
|
|
render: function() { |
|
|
return <div> |
|
|
return <div> |
|
|
<h1>Vis timline with React</h1> |
|
|
<h1>Vis timline with React</h1> |
|
|
<h2>Using react components for items ang group templates</h2> |
|
|
|
|
|
|
|
|
<h2>Using react components for items and group templates</h2> |
|
|
|
|
|
|
|
|
<div id="mytimeline"></div> |
|
|
<div id="mytimeline"></div> |
|
|
</div> |
|
|
</div> |
|
@ -128,4 +128,4 @@ |
|
|
ReactDOM.render(<VisTimeline />, document.getElementById('root')); |
|
|
ReactDOM.render(<VisTimeline />, document.getElementById('root')); |
|
|
</script> |
|
|
</script> |
|
|
</body> |
|
|
</body> |
|
|
</html> |
|
|
|
|
|
|
|
|
</html> |