@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) • 820 B
TypeScript
import type React from 'react';
import { type PropsWithChildren } from 'react';
import type { CharacterFormSchema } from '@config/schema';
type FormFieldProps = PropsWithChildren & {
name?: keyof CharacterFormSchema;
variant?: 'default' | 'inline';
label: string;
description?: string;
placeholder?: string;
optional?: boolean;
controlled?: boolean;
};
export declare const FormField: React.FC<FormFieldProps>;
type ObservedFormFieldProps<T extends keyof CharacterFormSchema> = Omit<FormFieldProps, 'name'> & {
name: T;
onWatchValueChange: (value: CharacterFormSchema[T]) => void;
};
export declare const ObservedFormField: <T extends keyof CharacterFormSchema>({ name, onWatchValueChange, ...props }: ObservedFormFieldProps<T>) => import("react/jsx-runtime").JSX.Element;
export {};