mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
26 lines
597 B
JavaScript
Executable File
26 lines
597 B
JavaScript
Executable File
import React from "react"
|
|
import * as antd from "antd"
|
|
|
|
const ChangePasswordComponent = (props) => {
|
|
const [loading, setLoading] = React.useState(false)
|
|
|
|
return <div className="changePasswordPrompt">
|
|
<div className="title">
|
|
<h1>Change Password</h1>
|
|
</div>
|
|
|
|
<div className="form">
|
|
|
|
</div>
|
|
</div>
|
|
}
|
|
|
|
export default (props) => {
|
|
const onClick = () => {
|
|
app.SidedrawerController.open("passwordChange", ChangePasswordComponent)
|
|
}
|
|
|
|
return <antd.Button onClick={onClick}>
|
|
Change password
|
|
</antd.Button>
|
|
} |