matrix-react-sdk
Version:
SDK for matrix.org using React
28 lines (27 loc) • 814 B
TypeScript
import React from "react";
import { ScreenName } from "../../../PosthogTrackers";
interface IProps {
"hasCancel"?: boolean;
"onKeyDown"?: (e: KeyboardEvent | React.KeyboardEvent) => void;
"className"?: string;
"fixedWidth"?: boolean;
"top"?: React.ReactNode;
"title"?: React.ReactNode;
"aria-label"?: string;
"headerImage"?: string;
"children"?: React.ReactNode;
"contentId"?: string;
"titleClass"?: string | string[];
"headerButton"?: JSX.Element;
"screenName"?: ScreenName;
onFinished(): void;
}
export default class BaseDialog extends React.Component<IProps> {
private matrixClient;
static defaultProps: Partial<IProps>;
constructor(props: IProps);
private onKeyDown;
private onCancelClick;
render(): React.ReactNode;
}
export {};