UNPKG

matrix-react-sdk

Version:
28 lines (27 loc) 814 B
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 {};