@payfit/unity-components
Version:
10 lines (9 loc) • 533 B
TypeScript
import { AIComposerProps } from '../AIComposer.js';
export type TanstackAIComposerFormProps = Omit<AIComposerProps, 'onSubmit'>;
/**
* Connects the native AI Composer form to the current AI Kit TanStack Form.
*
* An explicit Composer lifecycle state remains application-owned. Without one,
* the form's submission state drives the Composer loading treatment.
*/
export declare const TanstackAIComposerForm: import('react').ForwardRefExoticComponent<TanstackAIComposerFormProps & import('react').RefAttributes<HTMLFormElement>>;