Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can be a props #11

Open
MandaNyAina opened this issue May 31, 2024 · 0 comments
Open

Can be a props #11

MandaNyAina opened this issue May 31, 2024 · 0 comments

Comments

@MandaNyAina
Copy link

Should be a props 🤔

https://github.com/anhnch/react-native-pin-code/blob/f461720124a94ea91b0bfa870c4b61f246bc6897/src/PinCode.tsx#L301C27-L301C28

This part of Pin style properties should be a props with default value "white"

Why ?

Because the PinCode screen can be a white color so the user think that the Pin is not appearing. When the user tape in the number pin, nothing on his screen.

I've this issues so I spend four hours to debug by passing color from pinContainer and gave empty result, upgrade/dowgrade not working so I inspected the library code to understand why the colour isn't being applied.

So to fix my problem, I change my backgroundColor to black.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant