From e76a5f847e78fee4e62f6eb37d468557a1504c55 Mon Sep 17 00:00:00 2001 From: 简律纯 Date: Wed, 3 May 2023 01:22:45 +0800 Subject: --- .../pages/TRPG-home/PackBenchmarksPicker.tsx | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 docs/components/pages/TRPG-home/PackBenchmarksPicker.tsx (limited to 'docs/components/pages/TRPG-home/PackBenchmarksPicker.tsx') diff --git a/docs/components/pages/TRPG-home/PackBenchmarksPicker.tsx b/docs/components/pages/TRPG-home/PackBenchmarksPicker.tsx new file mode 100644 index 0000000..33e5bfd --- /dev/null +++ b/docs/components/pages/TRPG-home/PackBenchmarksPicker.tsx @@ -0,0 +1,20 @@ +import { BenchmarkNumberOfModules } from "./PackBenchmarks"; +import { PackDropdown } from "./PackDropdown"; + +export function PackBenchmarksPicker(props: { + setNumberOfModules: (num: BenchmarkNumberOfModules) => void; +}) { + return ( +
+ + React Components + + props.setNumberOfModules(value)} + /> +
+ ); +} -- cgit v1.2.3-70-g09d2