UNPKG

@redocly/theme

Version:

Shared UI components lib

11 lines (10 loc) 496 B
import React from 'react'; import type { JSX } from 'react'; import { FeedbackType } from '../../core/types'; export type SearchAiNegativeFeedbackFormProps = { messageId: string; onClose: (messageId: string, feedback: FeedbackType, reason?: string) => void; onSubmit: (reason: string) => void; formRef?: React.Ref<HTMLDivElement>; }; export declare function SearchAiNegativeFeedbackForm({ messageId, onClose, onSubmit, formRef, }: SearchAiNegativeFeedbackFormProps): JSX.Element;