diff --git a/src/components/ui.tsx b/src/components/ui.tsx index 0f2c7b1..395e25c 100644 --- a/src/components/ui.tsx +++ b/src/components/ui.tsx @@ -1,7 +1,7 @@ import type { ButtonHTMLAttributes, InputHTMLAttributes, ReactNode, SelectHTMLAttributes, } from "react"; -import { useEffect } from "react"; +import { useEffect, useId } from "react"; import { X } from "lucide-react"; import { classNames } from "@/lib/format"; @@ -101,6 +101,28 @@ export function Select(props: SelectHTMLAttributes) { return onChange(e.target.value)} + className={classNames("form-input", className)} + /> + + {options.map((o) => + + ); +} + export function Textarea(props: React.TextareaHTMLAttributes) { return (