Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
react-native-password-eye
Advanced tools
A simple and fully customizable React Native component for TextInputs
$ npm install --save react-native-password-eye
import TextBox from 'react-native-password-eye';
place <TextBox>
tag wherever you want to have it.
<TextBox onChangeText={(text) => console.log('onChangeText: ', text)} />
props | required |
---|---|
onChangeText | YES |
props | value | default value |
---|---|---|
alertType | one of success , warning , error | null |
blurOnSubmit | bool | false |
hint | string | null |
hintColor | string | #818181 |
hintStyles | style | |
inputStyle | style | |
placeholder | string | |
placeholderTextColor | string | #C5C5C5 |
rtl | bool | false |
returnKeyType | enum ( similar to default TextInput ) | next |
secureTextEntry | bool | false |
style | style |
props | description |
---|---|
containerStyles | styling for view containing the input and the hint message |
inputStyle | styling for Input Component |
hintStyles | styling for hint text in the bottom of the input |
props | description | default value |
---|---|---|
iconFamily | one of the icon sets of react-native-vector-icon | Feather |
iconSuccess | icon name for the success icon | smile |
iconSuccessColor | icon color for the success icon | #28a745 |
iconWarning | icon name for the warning icon | alert-triangle |
iconWarningColor | icon color for the warning icon | #ffc107 |
iconAlert | icon name for the error icon | alert-circle |
iconAlertColor | icon color for the error icon | #dc3545 |
eyeColor | icon color for the eye icon | #2E2E2E |
example:
import TextBox from 'react-native-password-eye';
<TextBox
iconFamily={'MaterialCommunityIcons'}
iconSuccess={'emoticon-happy-outline'}
iconWarning={'alert-outline'}
iconAlert={'alert-octagon-outline'}
/>
FAQs
A simple and fully customizable React Native component for TextInputs
We found that react-native-password-eye demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.