matrix-react-sdk
Version:
SDK for matrix.org using React
24 lines (23 loc) • 670 B
TypeScript
import React from "react";
export interface IQuestionDialogProps {
title?: string;
description?: React.ReactNode;
extraButtons?: React.ReactNode;
button?: string;
buttonDisabled?: boolean;
danger?: boolean;
focus?: boolean;
headerImage?: string;
quitOnly?: boolean;
fixedWidth?: boolean;
className?: string;
hasCancelButton?: boolean;
cancelButton?: React.ReactNode;
onFinished(ok?: boolean): void;
}
export default class QuestionDialog extends React.Component<IQuestionDialogProps> {
static defaultProps: Partial<IQuestionDialogProps>;
private onOk;
private onCancel;
render(): React.ReactNode;
}