summaryrefslogtreecommitdiff
path: root/src/components/experiments/ExperimentListComponent.js
blob: c3e3db8d08ab4b38ce0c3b85779d0809932754f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
import React from "react";

const ExperimentListContainer = ({experiments}) => (
    <table className="table">
        <thead>
        <tr>
            <th>Name</th>
            <th>Path</th>
            <th>Trace</th>
            <th>Scheduler</th>
        </tr>
        </thead>
        <tbody>
        {experiments.map(experiment => (
            <tr>
                <td>{experiment.name}</td>
                <td>{experiment.path.name}</td>
                <td>{experiment.trace.name}</td>
                <td>{experiment.scheduler.name}</td>
            </tr>
        ))}
        </tbody>
    </table>
);

export default ExperimentListContainer;