UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

12 lines 616 B
import { TraceEvent } from '@sage-bionetworks/synapse-types'; export type SynapseChatInteractionProps = { userMessage: string; chatResponseText?: string; chatResponseTrace?: TraceEvent[]; scrollIntoView?: boolean; chatErrorReason?: string; onSendChat?: (message: string) => void; }; export declare function SynapseChatInteraction({ userMessage, chatResponseText, chatErrorReason, chatResponseTrace, scrollIntoView, onSendChat, }: SynapseChatInteractionProps): import("react/jsx-runtime").JSX.Element; export default SynapseChatInteraction; //# sourceMappingURL=SynapseChatInteraction.d.ts.map