term dropdown populating

This commit is contained in:
2024-09-11 09:21:05 -06:00
parent dd983982d8
commit 72dcb2f54b
13 changed files with 266 additions and 32 deletions

View File

@@ -0,0 +1,23 @@
import React from "react";
export default function TextInput({
value,
setValue,
label,
}: {
value: string;
setValue: (newValue: string) => void;
label: string;
}) {
return (
<label className="block">
{label}
<br />
<input
className="bg-slate-800 rounded-md px-1"
value={value}
onChange={(e) => setValue(e.target.value)}
/>
</label>
);
}