@redocly/theme
Version:
Shared UI components lib
15 lines (14 loc) • 529 B
TypeScript
import type { JSX } from 'react';
import type { SubmitFeedbackParams } from '../../core/types';
export type ReportDialogProps = {
location: string;
lang?: string;
onSubmit: () => void;
onCancel: () => void;
settings: {
label?: string;
};
submitFeedback: ({ type, values, path, location }: SubmitFeedbackParams) => Promise<void>;
className?: string;
};
export declare function ReportDialog({ location, settings, onSubmit, onCancel, submitFeedback, lang, }: ReportDialogProps): JSX.Element;