Skip to main content
ContextTab component

Props

config
AgentConfig
required
config
updateConfig
<K extends keyof AgentConfig>( key: K, value: AgentConfig[K] ) => void
required
updateConfig
errors
Record<string, string>
required
errors
onConfigRefresh
() => void
onConfigRefresh

Usage

import { ContextTab } from '@/components/ContextTab';

export default function Example() {
  return (
    <ContextTab config={config} updateConfig={updateConfig} errors={errors} />
  );
}