mirror of
https://github.com/flarum/core.git
synced 2025-10-12 15:34:26 +02:00
26 lines
611 B
TypeScript
26 lines
611 B
TypeScript
/**
|
|
* The `ChangeEmailModal` component shows a modal dialog which allows the user
|
|
* to change their email address.
|
|
*/
|
|
export default class ChangeEmailModal extends Modal {
|
|
/**
|
|
* Whether or not the email has been changed successfully.
|
|
*
|
|
* @type {Boolean}
|
|
*/
|
|
success: boolean | undefined;
|
|
/**
|
|
* The value of the email input.
|
|
*
|
|
* @type {function}
|
|
*/
|
|
email: Function | undefined;
|
|
/**
|
|
* The value of the password input.
|
|
*
|
|
* @type {function}
|
|
*/
|
|
password: Function | undefined;
|
|
}
|
|
import Modal from "../../common/components/Modal";
|