mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
added change password component
This commit is contained in:
parent
32ac0fadc4
commit
fa5ecac766
@ -1,10 +1,26 @@
|
|||||||
import React from "react"
|
import React from "react"
|
||||||
import * as antd from "antd"
|
import * as antd from "antd"
|
||||||
|
|
||||||
export default (props) => {
|
const ChangePasswordComponent = (props) => {
|
||||||
return <div>
|
const [loading, setLoading] = React.useState(false)
|
||||||
<antd.Button>
|
|
||||||
Change password
|
return <div className="changePasswordPrompt">
|
||||||
</antd.Button>
|
<div className="title">
|
||||||
|
<h1>Change Password</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div className="form">
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
}
|
||||||
|
|
||||||
|
export default (props) => {
|
||||||
|
const onClick = () => {
|
||||||
|
app.SidedrawerController.open("passwordChange", ChangePasswordComponent)
|
||||||
|
}
|
||||||
|
|
||||||
|
return <antd.Button onClick={onClick}>
|
||||||
|
Change password
|
||||||
|
</antd.Button>
|
||||||
}
|
}
|
@ -0,0 +1,7 @@
|
|||||||
|
import React from "react"
|
||||||
|
|
||||||
|
export default (props) => {
|
||||||
|
return <div>
|
||||||
|
<h1>Change Password</h1>
|
||||||
|
</div>
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user