Comments (7)
hello @ashwanihundwani ,
do you get any solution to change the text color?
from react-native-otp-inputs.
@AnchalMulchandani No, I am using my own custom solution, as I am constrained on time.
from react-native-otp-inputs.
@ashwanihundwani
I have checked for this and got the solution..
You can pass inputStyles
prop for that one.
from react-native-otp-inputs.
@AnchalMulchandani Thanks Anchal. I can pass in {"color": "#fff"} something like this right?
from react-native-otp-inputs.
@ashwanihundwani Yes,You can pass the style under that prop and also using style object-
For eg:-
- using style object-
<OtpInputs handleChange={code => console.log(code)} numberOfInputs={6} inputStyles={styles.otpInputText} inputsContainerStyles={styles.otpContainerView} inputContainerStyles={styles.inputContainerView}/>
- Inside prop-
<OtpInputs handleChange={code => console.log(code)} numberOfInputs={6} inputStyles={{
"color": "#fff"}} inputsContainerStyles={styles.otpContainerView} inputContainerStyles={styles.inputContainerView}/>
from react-native-otp-inputs.
@AnchalMulchandani Thanks Anchal, much appreciated.
from react-native-otp-inputs.
I think I can close it as you can customize pretty much everything :)
from react-native-otp-inputs.
Related Issues (20)
- Unable to paste in android HOT 6
- unexpected response when entering number into second positon
- Auto filling otp in ios not work proper HOT 3
- Getting Error: Cannot read property 'getString' of undefined HOT 4
- For those who are having issue regarding on autofill here's a solution
- Expo has a Clipboard API HOT 4
- [Request]: Android SMS User Consent API Integration
- how to clear up the inputs on wrong OTP ? nothing to handle it HOT 1
- Exported props are missing
- When I type OTP and select a middle number to remove and clean it using delete button, the number jumps to previous fields.
- Does not have onCodeFilled method/Props HOT 1
- ios paste code the UI abnormal HOT 3
- OTP input losing focus immediately on IOS HOT 1
- add styles to inputs if they have a value HOT 3
- Touchable area is too short.
- How can we restrict strings and allow only numbers to be feed as otp? HOT 3
- Added feature for passing a custom container component (patch included)
- How to change the border color of a specific box when focused HOT 1
- Warning: Cannot update a component (`LoginPage`) while rendering a different component (`ForwardRef`). To locate the bad setState() call inside `ForwardRef`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render HOT 6
- Update clipboard lib
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-otp-inputs.