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>
)
}
password_recover
1.0.12 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i password_recover
Weekly Downloads
1
Version
1.0.12
License
ISC
Unpacked Size
51.5 kB
Total Files
21