@fleek-platform/agents-ui
Version:
The Fleek Platform Agents UI provides a simple interface for deploying, monitoring, and configuring your agents––making management straightforward
20 lines (19 loc) • 840 B
TypeScript
import type React from 'react';
import { type PropsWithChildren } from 'react';
import type { CharacterFormSchemaV2 } from '@base/config/v2/schema';
type FormFieldProps = PropsWithChildren & {
name?: keyof CharacterFormSchemaV2;
variant?: 'default' | 'inline';
label: string;
description?: string;
placeholder?: string;
optional?: boolean;
controlled?: boolean;
};
export declare const FormFieldV2: React.FC<FormFieldProps>;
type ObservedFormFieldProps<T extends keyof CharacterFormSchemaV2> = Omit<FormFieldProps, 'name'> & {
name: T;
onWatchValueChange: (value: CharacterFormSchemaV2[T]) => void;
};
export declare const ObservedFormField: <T extends keyof CharacterFormSchemaV2>({ name, onWatchValueChange, ...props }: ObservedFormFieldProps<T>) => import("react/jsx-runtime").JSX.Element;
export {};