mirror of
https://github.com/flarum/core.git
synced 2025-08-07 00:47:00 +02:00
27 lines
691 B
TypeScript
27 lines
691 B
TypeScript
/**
|
|
* The `ChangeEmailModal` component shows a modal dialog which allows the user
|
|
* to change their email address.
|
|
*/
|
|
export default class ChangeEmailModal extends Modal<import("../../common/components/Modal").IInternalModalAttrs> {
|
|
constructor();
|
|
/**
|
|
* 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";
|