import { forwardRef } from "react"; import { VectorInput, VectorInputProps } from "./VectorInput"; interface KVectorInputProps extends Omit { dimensions?: number; } const KVectorInput = forwardRef(function KVectorInput( { value, dimensions, ...props }, ref, ) { const k = dimensions || value.length; const labels = Array.from({ length: k }, (_, i) => `${i}`); return ; }); export { KVectorInput }; export type { KVectorInputProps };