@difizen/ai-flow
Version:
Scalable, out-of-the-box, agent-oriented flow
20 lines (19 loc) • 630 B
TypeScript
import React from 'react';
import type { ExternalToolBlockType, VariableBlockType } from './types';
export type PromptEditorProps = {
instanceId?: string;
compact?: boolean;
className?: string;
placeholder?: string;
placeholderClassName?: string;
style?: React.CSSProperties;
value?: string;
editable?: boolean;
onChange?: (text: string) => void;
onBlur?: () => void;
onFocus?: () => void;
variableBlock?: VariableBlockType;
externalToolBlock?: ExternalToolBlockType;
};
export declare const PromptEditor: React.NamedExoticComponent<PromptEditorProps>;
export * from './types';