From 4838df315931bb883f704ec3e1abe2685f296cdf Mon Sep 17 00:00:00 2001
From: HsiangNianian <admin@jyunko.cn>
Date: Sat, 22 Apr 2023 19:52:26 +0800
Subject: 😀
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .../pages/pack-home/PackBenchmarksPicker.tsx         | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 docs/components/pages/pack-home/PackBenchmarksPicker.tsx

(limited to 'docs/components/pages/pack-home/PackBenchmarksPicker.tsx')

diff --git a/docs/components/pages/pack-home/PackBenchmarksPicker.tsx b/docs/components/pages/pack-home/PackBenchmarksPicker.tsx
new file mode 100644
index 0000000..dd3fc15
--- /dev/null
+++ b/docs/components/pages/pack-home/PackBenchmarksPicker.tsx
@@ -0,0 +1,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/vercel/turbo/blob/main/docs/components/pages/pack-home/benchmark-data"
+      >
+        React Components
+      </a>
+      <PackDropdown
+        onOptionSelected={(value) => props.setNumberOfModules(value)}
+      />
+    </div>
+  );
+}
-- 
cgit v1.2.3-70-g09d2

