hierarchical-estimates-visu.../components/advancedOptions/showComparisons.js
NunoSempere 6f91849e4e feat: Get prototype working.
Display still missing, but some core functionality already
works.
2022-06-24 21:38:07 -04:00

23 lines
617 B
JavaScript

import React, { state } from "react";
import { CopyBlock, googlecode } from "react-code-blocks";
import { Separator } from "../separator.js";
export function ShowComparisons({ links, show }) {
return (
<div className={`text-left ${show ? "" : "hidden"}`}>
<Separator />
<h3 className="text-lg mt-8">Comparisons</h3>
<CopyBlock
text={JSON.stringify(links, null, 4)}
language={"js"}
showLineNumbers={false}
startingLineNumber={0}
wrapLines={true}
textColor={"black"}
theme={googlecode}
codeBlock={true}
/>
</div>
);
}