From 5de06198e5167762f69e40faaebc19ab429b8236 Mon Sep 17 00:00:00 2001 From: Azalea Gui Date: Thu, 16 Feb 2023 17:20:29 -0500 Subject: [PATCH] [+] Search bar --- src/App.tsx | 44 +++++++++++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 15 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 5f41836..53c3135 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -59,6 +59,9 @@ export default function App() { const [scrollIndex, setScrollIndex] = createSignal(50) const scrollNext = () => setScrollIndex(Math.min(scrollIndex() + 20, api().length)) + // Search + const [search, setSearch] = createSignal() + // Handle wheel for breadcrumb const [bcLeft, setBcLeft] = createSignal(0) function wheel(e: WheelEvent) @@ -84,22 +87,31 @@ export default function App() {

File Listing

- {/* Breadcrumbs */} + {/* Breadcrumb slot */}