Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-native-pay-password

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-pay-password

react native pay password

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-native-pay-password

English | 中文

Install

$ npm install react-native-pay-password --save

Usage

Export 4 components,if PasswordInput or PasswordModal doesn't meet your needs,you should use InputView and Keyboard to have a try.

PasswordInput(based InputView and Keyboard)

PropertiesDescriptionTypeDefault
clearclear password value when press the password inputbooleantrue
onDonehandler called when input done(value: string) => void-
inputViewPropspassword input function component propsInputViewProps-
keyboardPropskeyborad function component propsKeyboardProps-

PasswordModal(based InputView and Keyboard)

PropertiesDescriptionTypeDefault
clearclear password value when press the password inputbooleantrue
onDonehandler called when input done(value: string) => void-
backdropmodal backdropbooleanfalse
titlemodal titlestring支付密码
headercustom headeReact.ReactNode6
tiptipstring#C7C7C7
tipPropstip propsTextProps-
inputViewPropspassword input function component propsInputViewProps-
keyboardPropskeyborad function component propsKeyboardProps-

InputView(pay password input view)

PropertiesDescriptionTypeDefault
lengthpassword lengthnumber6
valuepassword valuestring-
covercoverboolean-
coverTextpassword cover textstring
styleinput view styleViewStyle-
itemStyleinput item styleViewStyle-
textStylepassword text styleTextStyle-
borderColorborder colorstring#C7C7C7

Keyboard(pay password keyboard)

PropertiesDescriptionTypeDefault
dataSourcescustom data sources,cover the default keyboard(KeyboardItemProps[])[]-
onPresshandler called when press num text(v?: string) => void;-
onDeletehandler called when press delete image() => void;-
stylekeyboard styleViewStyle-
rowStylerow styleViewStyle-

Example

see ./example

Keywords

FAQs

Package last updated on 19 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc