import React from 'react'; import { defineMessages, FormattedMessage as Message } from 'react-intl'; import { Button, Input, Form, FormModel } from 'app/components/ui/form'; import styles from 'app/components/profile/profileForm.scss'; import mfaStyles from './mfa.scss'; const messages = defineMessages({ codePlaceholder: 'Enter the code here', disable: 'Disable', }); export default class MfaDisableForm extends React.Component<{ onSubmit: (form: FormModel) => Promise; }> { form: FormModel = new FormModel(); render() { const { form } = this; const { onSubmit } = this.props; return (