Skip to content
Snippets Groups Projects
index.js 255 B
Newer Older
Matthieu BELLUCCI's avatar
Matthieu BELLUCCI committed
import React from 'react'
import ReactDOM from 'react-dom';
Matthieu BELLUCCI's avatar
Matthieu BELLUCCI committed
import Prediction from './Prediction';

const data = require('./data_test.json')
Matthieu BELLUCCI's avatar
Matthieu BELLUCCI committed
const root = document.getElementById('root');
const pred = <Prediction data={data}/>
ReactDOM.render(pred, root);