MCPcopy Create free account
hub / github.com/bytebase/dbhub / ParameterFormProps

Interface ParameterFormProps

frontend/src/components/tool/ParameterForm.tsx:6–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4import { useEffect, useState } from 'react';
5
6interface ParameterFormProps {
7 parameters: ToolParameter[];
8 values: Record<string, any>;
9 onChange: (values: Record<string, any>) => void;
10}
11
12export function ParameterForm({ parameters, values, onChange }: ParameterFormProps) {
13 const handleChange = (name: string, value: any) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected