@@ -22,10 +22,10 @@ const TextOutput = ({ headers, calling_context, data }) => {
);
};
-TextOutput.propTypes = {
+GraphOutput.propTypes = {
headers: PropTypes.array.isRequired,
calling_context: PropTypes.string.isRequired,
data: PropTypes.array
};
-export default TextOutput;
+export default GraphOutput;
diff --git a/src/components/outputcomponents/index.js b/src/components/outputcomponents/index.js
index a3b25db2..d68eb220 100644
--- a/src/components/outputcomponents/index.js
+++ b/src/components/outputcomponents/index.js
@@ -5,12 +5,14 @@ import ImageOutput from './ImageOutput/ImageOutput';
import BarGraphOutput from './BarGraphOutput/BarGraphOutput';
import ScatterGraphOutput from './ScatterGraphOutput/ScatterGraphOutput';
import PieChartOutput from './PieChartOutput/PieChartOutput';
+import AreaGraphOutput from './AreaGraphOutput/AreaGraphOutput';
import TextOutputShowcaseCard from './TextOutput/TextOutputShowcaseCard';
import ImageOutputShowcaseCard from './ImageOutput/ImageOutputShowcaseCard';
import BarGraphOutputShowCaseCard from './BarGraphOutput/BarGraphOutputShowcaseCard';
import ScatterGraphOutputShowCaseCard from './ScatterGraphOutput/ScatterGraphOutputShowcaseCard';
import PieChartOutputShowCaseCard from './PieChartOutput/PieChartOutputShowcaseCard';
+import AreaGraphOutputShowCaseCard from './AreaGraphOutput/AreaGraphOutputShowcaseCard';
export function getOutputComponentById(id, headers, calling_context, data) {
switch (id) {
@@ -24,6 +26,8 @@ export function getOutputComponentById(id, headers, calling_context, data) {
return
;
case 5:
return
;
+ case 6:
+ return
;
default:
return
Null
;
}
@@ -45,6 +49,9 @@ export function getAllOutputComponentsForShowcase(data) {
/>,
,
+
];
}