Add manual target type selection ListBox, add targetType to onChange return, autodetect interface

This commit is contained in:
2023-08-25 23:55:32 -05:00
parent b2b33d6cd7
commit d3419713c8
2 changed files with 135 additions and 9 deletions

View File

@@ -38,7 +38,7 @@ const Index: NextPage = () => {
<div className="mx-auto max-w-screen-sm px-5 lg:max-w-screen-md xl:max-w-screen-lg">
<div className="dark container mx-auto w-full py-6 md:py-12 ">
<LookupInput
onChange={(target) => {
onChange={({ target, targetType }) => {
setTarget(target);
}}
onSubmit={async (props) => {