MCPcopy
hub / github.com/loggerhead/json4u / InputBoxProps

Interface InputBoxProps

src/containers/editor/mode/InputBox.tsx:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7import { useTranslations } from "next-intl";
8
9interface InputBoxProps extends ComponentPropsWithoutRef<typeof Input> {
10 id: string;
11 run: (input: string) => Promise<void>;
12 placeholderFn?: (loading: boolean) => string;
13 initial?: () => Promise<void>;
14}
15
16const InputBox = forwardRef<ElementRef<typeof Input>, InputBoxProps>(({ className, ...props }, ref) => {
17 const t = useTranslations();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected