mirror of
https://github.com/wassname/talk.git
synced 2026-07-15 11:26:58 +08:00
32 lines
917 B
JavaScript
32 lines
917 B
JavaScript
import React from 'react';
|
|
import cn from 'classnames';
|
|
import { Button } from 'plugin-api/beta/client/components/ui';
|
|
import styles from './DeleteMyAccountStep.css';
|
|
|
|
const DeleteMyAccountStep1 = props => (
|
|
<div className={styles.step}>
|
|
<h4>Are you sure you want to delete your account?</h4>
|
|
<p className={styles.description}>
|
|
To confirm you would like to delete your account please type in the
|
|
following phrase into the text box below:
|
|
</p>
|
|
<input
|
|
className={styles.textBox}
|
|
disabled={true}
|
|
readOnly={true}
|
|
value="delete"
|
|
/>
|
|
<div className={cn(styles.actions)}>
|
|
<Button className={cn(styles.button, styles.cancel)}>Cancel</Button>
|
|
<Button
|
|
className={cn(styles.button, styles.proceed)}
|
|
onClick={props.goToNextStep}
|
|
>
|
|
Delete My Account
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
);
|
|
|
|
export default DeleteMyAccountStep1;
|