This commit is contained in:
MotorTruck1221
2025-04-07 22:11:56 -06:00
parent 8af7b073fa
commit 05c7dad93d
7 changed files with 82 additions and 47 deletions
+1 -2
View File
@@ -1,12 +1,11 @@
---
import type { DropdownOptions } from "@utils/types";
interface Props {
title?: string;
id: string;
options: DropdownOptions[];
}
const { title, id, options } = Astro.props;
const { id, options } = Astro.props;
---
<select id=`dropdownBox-${id}` class="flex h-10 w-[180px] items-center justify-between text-(--foreground) background-(--background) rounded-lg border border-(--border) px-3 py-2">
{options.map((el) =>