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

Feature request: show / hidden password circle background #52

Closed
Rezaramdhanisti opened this issue Nov 23, 2018 · 8 comments
Closed

Feature request: show / hidden password circle background #52

Rezaramdhanisti opened this issue Nov 23, 2018 · 8 comments

Comments

@Rezaramdhanisti
Copy link

Hello, can i customize the background when show and hidden?

Thanks

@jeremy-farnault
Copy link
Contributor

Hi,

screen shot 2018-11-27 at 8 32 22 am

You can use this property. I don't know why I called it overlay instead of underlay...my bad.

Cheers,
Jeremy

@Rezaramdhanisti
Copy link
Author

Thank you Jeremy but i cant customize like black when clicked and white when not

@jeremy-farnault
Copy link
Contributor

Hi,

You can by using the stylePinCodeButtonCircle property to provide the 'no-clicked' button color.

      <View style={styles.container}>
        <PINCode status={'choose'} numbersButtonOverlayColor={'black'} stylePinCodeButtonCircle={{
          alignItems: 'center',
          justifyContent: 'center',
          width: 64,
          height: 64,
          backgroundColor: 'blue',
          borderRadius: 32
        }}/>
      </View>

Cheers,
Jeremy

@Rezaramdhanisti
Copy link
Author

Thank you so much but i mean this one,
image

really appreciate your answer!

@jeremy-farnault
Copy link
Contributor

Hi,

So sorry for the misunderstanding...
Just to be sure this time, do you want to change the background (deep blue) or the dots (light blue)?
If it's the dots you're talking about, you want to have a different color when they are small and big?

Cheers,
Jeremy

@Rezaramdhanisti
Copy link
Author

Hi,
Thank you for your response yes i mean when the dots are fullfilled and when not.
Can i customize when fullfilled black and when not white ?

Thanks

@jeremy-farnault
Copy link
Contributor

Hi,

I've just added colorPasswordEmpty property.
You can now use colorPassword, colorPasswordEmpty, and colorPasswordError :)

Cheers,
Jeremy

@Rezaramdhanisti
Copy link
Author

Hiiii,
Thank you so much for the feedback i just upgraded the version and its working on Android but on iOS colorPasswordEmpty not working

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

2 participants