| 7 | import { useTranslations } from "next-intl"; |
| 8 | |
| 9 | interface 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 | |
| 16 | const InputBox = forwardRef<ElementRef<typeof Input>, InputBoxProps>(({ className, ...props }, ref) => { |
| 17 | const t = useTranslations(); |
nothing calls this directly
no outgoing calls
no test coverage detected