@redocly/theme
Version:
Shared UI components lib
14 lines (13 loc) • 419 B
TypeScript
import type { ReportDialogProps } from '../../../components/Feedback/ReportDialog';
export type ReportButtonProps = {
onClick: () => void;
buttonText: string;
tooltip: string;
hide: boolean;
};
type ReportComponentsProps = {
visible?: boolean;
props: Partial<ReportDialogProps> | ReportButtonProps;
};
export declare function useReportDialog(): Record<string, ReportComponentsProps>;
export {};