abb-core
Version:
Application Build Butler Core
25 lines (24 loc) • 799 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var tslib_1 = require("tslib");
var React = require("react");
var ABBUser = /** @class */ (function (_super) {
tslib_1.__extends(ABBUser, _super);
function ABBUser(props) {
var _this = _super.call(this, props) || this;
_this.state = {
avatarPath: props.avatarPath,
firstname: props.firstname,
lastname: props.lastname,
username: props.username
};
return _this;
}
ABBUser.prototype.changePassword = function (oldPassword, newPassword, newPasswordSecond) {
fetch(this.props.backendURL, {
method: this.props.getDataMethod
});
};
return ABBUser;
}(React.Component));
exports.ABBUser = ABBUser;