aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/components/pages/pack-home/DocsBenchmarksGraph.tsx
diff options
context:
space:
mode:
author简律纯 <hsiangnianian@outlook.com>2023-05-03 01:22:45 +0800
committer简律纯 <hsiangnianian@outlook.com>2023-05-03 01:22:45 +0800
commite76a5f847e78fee4e62f6eb37d468557a1504c55 (patch)
tree4bcdeeeafb5bdc5945d855a22e6495926b5fbdd6 /docs/components/pages/pack-home/DocsBenchmarksGraph.tsx
parent4ddbf86780b7dd2f74f8fcc037ede1222f73f81e (diff)
downloadHydroRoll-e76a5f847e78fee4e62f6eb37d468557a1504c55.tar.gz
HydroRoll-e76a5f847e78fee4e62f6eb37d468557a1504c55.zip
Diffstat (limited to 'docs/components/pages/pack-home/DocsBenchmarksGraph.tsx')
-rw-r--r--docs/components/pages/pack-home/DocsBenchmarksGraph.tsx31
1 files changed, 0 insertions, 31 deletions
diff --git a/docs/components/pages/pack-home/DocsBenchmarksGraph.tsx b/docs/components/pages/pack-home/DocsBenchmarksGraph.tsx
deleted file mode 100644
index 7fb9d55..0000000
--- a/docs/components/pages/pack-home/DocsBenchmarksGraph.tsx
+++ /dev/null
@@ -1,31 +0,0 @@
-import { useState } from "react";
-import {
- BenchmarkBar,
- BenchmarkCategory,
- BenchmarkNumberOfModules,
-} from "./PackBenchmarks";
-import { BenchmarksGraph } from "./PackBenchmarksGraph";
-import { PackBenchmarksPicker } from "./PackBenchmarksPicker";
-
-export function DocsBenchmarksGraph(props: {
- bars: BenchmarkBar[];
- category: BenchmarkCategory;
-}) {
- const [numberOfModules, setNumberOfModules] =
- useState<BenchmarkNumberOfModules>("1000");
- return (
- <div className="my-10">
- <BenchmarksGraph
- bars={props.bars}
- category={props.category}
- numberOfModules={numberOfModules}
- pinTime
- />
- <div className="flex justify-center mt-6">
- <PackBenchmarksPicker
- setNumberOfModules={setNumberOfModules}
- ></PackBenchmarksPicker>
- </div>
- </div>
- );
-}