Skip to content

The pin color can be a props #11

@MandaNyAina

Description

@MandaNyAina

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions