react-native-password-strength-checker icon indicating copy to clipboard operation
react-native-password-strength-checker copied to clipboard

how to use this??

Open isunilapps opened this issue 6 years ago • 1 comments

isunilapps avatar Jul 17 '18 11:07 isunilapps

npm i --save react-native-password-strength-checker

added to a react-native project.. Installed version in package.json "react-native-password-strength-checker": "^1.0.13",

then

import PasswordStrengthChecker from 'react-native-password-strength-checker';

and used code snippet in render()

<PasswordStrengthChecker secureTextEntry minLength={6} minLevel={0} barWidthPercent={80} showBarOnEmpty={true} barColor="#f00" onChangeText={(text, isValid) => this.setState({ password: { value: text, isValid: isValid } })} />

isunilapps avatar Jul 17 '18 11:07 isunilapps