summaryrefslogtreecommitdiff
path: root/src/components/experiments/ExperimentRowComponent.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-14 14:07:21 +0200
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-09-23 10:06:02 +0200
commitf604406453f95c82c3e5e4294a51245661868bbe (patch)
tree6282cc3eb3164ddd94052175f872c8fc2ee2f623 /src/components/experiments/ExperimentRowComponent.js
parent7151ae60cf587a502a7e09d19ebd0fd33e761bf2 (diff)
First attempt at experiment list UI
Diffstat (limited to 'src/components/experiments/ExperimentRowComponent.js')
-rw-r--r--src/components/experiments/ExperimentRowComponent.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/components/experiments/ExperimentRowComponent.js b/src/components/experiments/ExperimentRowComponent.js
new file mode 100644
index 00000000..79ce3eea
--- /dev/null
+++ b/src/components/experiments/ExperimentRowComponent.js
@@ -0,0 +1,17 @@
+import React from "react";
+import Shapes from "../../shapes/index";
+
+const ExperimentRowComponent = ({experiment}) => (
+ <tr>
+ <td>{experiment.name}</td>
+ <td>{experiment.path.name}</td>
+ <td>{experiment.trace.name}</td>
+ <td>{experiment.scheduler.name}</td>
+ </tr>
+);
+
+ExperimentRowComponent.propTypes = {
+ experiment: Shapes.Experiment
+};
+
+export default ExperimentRowComponent;