react-native-input-password

采用React Native开发,仿支付宝付款密码输入框

Usage no npm install needed!

<script type="module">
  import reactNativeInputPassword from 'https://cdn.skypack.dev/react-native-input-password';
</script>

README

react-native-passwordInput

采用React Native开发,仿支付宝付款密码输入框

仿支付宝密码输入框

Install

安装包:

npm i react-native-input-password --save

通过引用import Password from 'react-native-input-password'来使用

Demo

 <View>
     <Password maxLength={6}></Password>
 </View>

其中maxLength={6}表示需要输入6位数密码