aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/components/pages/pack-home/PackBenchmarksPicker.tsx
blob: 33e5bfdfe36e3f63cdc6b5fbab58fc7bb1510fdc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { BenchmarkNumberOfModules } from "./PackBenchmarks";
import { PackDropdown } from "./PackDropdown";

export function PackBenchmarksPicker(props: {
  setNumberOfModules: (num: BenchmarkNumberOfModules) => void;
}) {
  return (
    <div className="flex items-center gap-3">
      <a
        className="dark:text-[#888888]  hover:underline underline-offset-4 text-[#666666] text-sm"
        href="https://github.com/retrofor/HydroRoll/blob/main/docs/components/pages/pack-home/benchmark-data"
      >
        React Components
      </a>
      <PackDropdown
        onOptionSelected={(value) => props.setNumberOfModules(value)}
      />
    </div>
  );
}