import { type HTMLInputTypeAttribute, useState } from "react";
import {
type UseFormRegisterReturn,
type InternalFieldName,
} from "react-hook-form";
/**
* Single line input for the fields found to the right of the
* resource logo.
*/
function InfoInputLine({
value,
placeholder,
hint,
details,
}: {
value: string;
placeholder: string;
hint?: string;
details: UseFormRegisterReturn;
}) {
const [curValue, setCurValue] = useState(value);
return (