export class DialogButton extends React.Component { static propTypes: { buttonComponent: PropTypes.Validator<(...args: any[]) => any>; title: PropTypes.Validator; contents: PropTypes.Validator; initialIsOpen: PropTypes.Requireable; isVisible: PropTypes.Requireable; }; static defaultProps: { initialIsOpen: undefined; isVisible: boolean; }; static getDerivedStateFromProps(nextProps: any, prevState: any): { isOpen: any; props: any; } | null; constructor(props: any); constructor(props: any, context: any); handleClickOpen: () => void; handleClose: () => void; } export default DialogButton; import React from "react"; import PropTypes from "prop-types";