UNPKG

mongodb-chatbot-ui

Version:

UI React components for the MongoDB Assistant

12 lines (11 loc) 577 B
import { type MessageRatingProps } from "@lg-chat/message-rating"; export type RatingCommentStatus = "none" | "submitted" | "abandoned"; export type MessageRatingWithFeedbackCommentProps = { submit: (commentText: string) => void | Promise<void>; status: RatingCommentStatus; errorMessage?: string; clearErrorMessage?: () => void; maxCommentCharacterCount?: number; messageRatingProps: MessageRatingProps; }; export declare function MessageRatingWithFeedbackComment(props: MessageRatingWithFeedbackCommentProps): import("react/jsx-runtime").JSX.Element;