password_recover
v1.0.12
Published
用于zt移动端 密码找回
Downloads
18
Readme
密码找回
usage
import PasswordRecover from 'password-recover'
function Test(){
const recoverRef = useRef();
function onPress(){
recoverRef.current.open()
}
function onFinish(type:boolean){
// type true 是正常执行完
// false是中途取消
}
return (
<View>
<Button onPress={onPress}/>
<PasswordRecover
ref = {r=>recoverRef.current=r}
baseURL='http://www.baidu.com'
onFinish={onFinish}
/>
</View>
)
}