
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
react-native-character-input
Advanced tools
$ npm install react-native-character-input --save
import CharacterInput from 'react-native-character-input'

<CharacterInput
placeHolder='YYYY/MM/DD'
showCharBinary='1111011011'
handleChange={(value) => setValue(value)}
inputType='underlined'
keyboardType='numeric'
/>

<CharacterInput
placeHolder='YYYY/MM/DD'
showCharBinary='1111011011'
handleChange={(value) => setValue(value)}
inputType='outlined'
keyboardType='numeric'
/>

<CharacterInput
placeHolder='YYYY/MM/DD'
showCharBinary='1111011011'
handleChange={(value) => setValue(value)}
inputType='contained'
keyboardType='numeric'
/>
| Name | Type | Required? | Description |
|---|---|---|---|
| placeHolder | string | yes | String of place holder characters. |
| showCharBinary | string | yes | String of 1 or 0, indicates if corresponding character should be editable or not |
| handleChange | function(value: string) => void | yes | Returns a string of modifiable characters (1) stripped of disabled characters (0). |
| keyboardType | string | no | Same as TextInput component from react-native |
| inputType | string | no | Default underlined, Options include: underlined, outlined, and contained |
| permanentTextStyle | StyleSheet | no | Styles Text component of disabled characters |
| containerStyle | StyleSheet | no | Contained style of each character input |
| inputStyle | StyleSheet | no | Input style of each character input |
| inputContainerStyle | StyleSheet | no | Input container style of each character input |
| placeHolderTextColor | StyleSheet | no | Place holder text color |
| autoFocus | boolean | no | auto focus on first character input |
FAQs
Interactive character inputs that allow custom masking
We found that react-native-character-input 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.