Convert ConfirmCloseHostingSignupDialog to typescript
This commit is contained in:
parent
c03a50e34b
commit
31c7c05f2e
1 changed files with 9 additions and 3 deletions
|
@ -15,15 +15,21 @@ limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import QuestionDialog from './QuestionDialog';
|
||||||
import { _t } from "../../../languageHandler";
|
import { _t } from "../../../languageHandler";
|
||||||
import * as sdk from '../../../index';
|
import { IDialogProps } from "./IDialogProps";
|
||||||
|
|
||||||
|
interface IProps extends IDialogProps {
|
||||||
|
onFinished(): void;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface IState {}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* A dialog for confirming closing the Hosting signup setup dialog.
|
* A dialog for confirming closing the Hosting signup setup dialog.
|
||||||
*/
|
*/
|
||||||
export default class ConfirmCloseHostingSignupDialog extends React.Component {
|
export default class ConfirmCloseHostingSignupDialog extends React.PureComponent<IProps, IState> {
|
||||||
public render() {
|
public render() {
|
||||||
const QuestionDialog = sdk.getComponent('views.dialogs.QuestionDialog');
|
|
||||||
return (
|
return (
|
||||||
<QuestionDialog
|
<QuestionDialog
|
||||||
onFinished={this.props.onFinished}
|
onFinished={this.props.onFinished}
|
Loading…
Reference in a new issue