Skip to content
Snippets Groups Projects
index.js 490 B
Newer Older
Matthieu BELLUCCI's avatar
Matthieu BELLUCCI committed
import React from 'react'
import ReactDOM from 'react-dom';
import image from './8.jpg'
import Image from './Image';
import BarChart from './BarChart';
Matthieu BELLUCCI's avatar
Matthieu BELLUCCI committed
import Tabs from './Tabs';
import Prediction from './Prediction';

Matthieu BELLUCCI's avatar
Matthieu BELLUCCI committed
const element = <h1>Bonjour, monde</h1>;
const root = document.getElementById('root');
let arr = [5, 10, 2, 3, 0, 100];
Matthieu BELLUCCI's avatar
Matthieu BELLUCCI committed
//ReactDOM.render(<BarChart data={arr}/>, root);
const pred = <Prediction img={image} label="Trombone" class="Trombone" />
ReactDOM.render(pred, root);