Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
react-native-awesome-text-input
Advanced tools
A simple and reusable react native compatible text input that packs animations and extra styling on top of the core React Native's text input.
A simple lib to share an easy to implement animated custom text input for React native
With npm:
npm i react-native-awesome-text-input
With yarn:
yarn add react-native-awesome-text-input
import { AwesomeTextInput } from 'react-native-awesome-text-input';
export default function App() {
return (
<AwesomeTextInput label="Simple label" />
);
}
import { AwesomeTextInput } from 'react-native-awesome-text-input';
export default function App() {
return (
<AwesomeTextInput label="Password" secureTextEntry={true} />
);
}
import { AwesomeTextInput } from 'react-native-awesome-text-input';
export default function App() {
return (
<AwesomeTextInput
label="Bordered input"
customStyles={{
container: {
borderWidth: 1,
borderColor: 'grey',
borderRadius: 10
},
title: {
backgroundColor: "white"
}
}} />
);
}
Prop | Values | Example |
---|---|---|
label | string | Example label |
customStyles | { container?: ReactNative.ViewStyle, title?: ReactNative.TextStyle, inputContainer?: ReactNative.ViewStyle } | { container: { borderRadius: 5, backgroundColor: 'purple' } , title: { color: "white" }, inputContainer: { backgroundColor: 'blue' } } |
...any ReactNative.TextInput props | ReactNative.TextInput props | secureTextEntry: true // Hide the text input for passwords |
For sure! Don't hesitate to open issues with the enhancement
tag or open pull requests for bugfixes/enhancements.
FAQs
A simple and reusable react native compatible text input that packs animations and extra styling on top of the core React Native's text input.
We found that react-native-awesome-text-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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.