matrix-react-sdk
Version:
SDK for matrix.org using React
34 lines (33 loc) • 840 B
TypeScript
import React from "react";
interface IProps {
onFinished: (success: boolean) => void;
initialText?: string;
label?: string;
error?: unknown;
}
interface IState {
sendLogs: boolean;
busy: boolean;
err: string | null;
issueUrl: string;
text: string;
progress: string | null;
downloadBusy: boolean;
downloadProgress: string | null;
}
export default class BugReportDialog extends React.Component<IProps, IState> {
private unmounted;
private issueRef;
constructor(props: IProps);
componentDidMount(): void;
componentWillUnmount(): void;
private onCancel;
private onSubmit;
private onDownload;
private onTextChange;
private onIssueUrlChange;
private sendProgressCallback;
private downloadProgressCallback;
render(): React.ReactNode;
}
export {};