Comments (2)
Hi!
I added the licence, sorry for that :). Feel free to use it anyway you want.
To navigate to a new page after a successful input, you can use the finishProcess props.
So on a basic usage it could look like this:
return (
<View style={styles.container}>
<PINCode
status={'enter'}
finishProcess={() => this.props.navigation.navigate('someNewPage')}/>
</View>
)
As the navigation to the new page is triggered on the last digit press, you could add a small delay to have something less ugly :).
return (
<View style={styles.container}>
<PINCode
status={'enter'}
finishProcess={async () => {
await delay(500)
this.props.navigation.navigate('someNewPage')
}}/>
</View>
)
Cheers
from react-native-pincode.
Thanks for your quick reply 😎
from react-native-pincode.
Related Issues (20)
- integration with expo LocalAuthentication
- change of subtitle in first entering the PIN
- Ability to adjust the opacity
- console.error : "fontFamily "Material Icons" is not a system font and has not been loaded through Font.loadAsync
- Cannot resolve the path to "@react-native-community/async-storage" package
- async storage community to react native async storage HOT 2
- How to change pinlock title ?
- How to add delete method to my custom delete button
- How do i reset the pin. HOT 1
- how to set pin manually?
- Touch ID title - Usage
- AsyncStorage issue
- callbackErrorTouchId doesn't catch all possible errors.
- callbackErrorTouchId doesn't catch all possible errors.
- Title and Subtitle Font not Applying on ios HOT 2
- Freeze while setting and entering pincode HOT 1
- Clean status of the component after is used successfully HOT 1
- Package dependencies
- Incompatible with Expo HOT 1
- Audit security issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-pincode.