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.
@big-tam/react-native-animated-text-input
Advanced tools
A simple animated text input for react-native
A custom react-native animated text-input.
npm i react-native-animated-text-input
yarn add react-native-animated-text-input
import React from "react";
import { useState } from "react";
import { View } from "react-native";
import AnimatedTextInput from "@big-tam/react-native-animated-text-input";
const lightBlue = "#45A6E5";
const offWhite = "#e1e1e1";
const App = () => {
const [email, setEmail] = useState("");
const [password, setPassword] = useState("");
const style = {
container: {
flex: 1,
alignItems: "center",
backgroundColor: offWhite,
paddingTop: 200,
paddingHorizontal: 30,
},
};
const config = {
borderColor: lightBlue,
deleteIconColor: lightBlue,
backgroundColor: offWhite,
placeholderTextColor: lightBlue,
containerStyle: {
margin: 5,
},
};
return (
<View style={style.container}>
<AnimatedTextInput
{...config}
placeholder={"Email"}
keyboardType="email-address"
autoCapitalize="none"
onChangeText={setEmail}
/>
<AnimatedTextInput
{...config}
placeholder={"Password"}
secureTextEntry={true}
onChangeText={setPassword}
/>
</View>
);
};
export default App;
All options from default react-native TextInput component are inherited (TextInputProps
).
Additional options (none are required):
ColorValue
ColorValue
ColorValue
TextStyle
ViewStyle
FAQs
A simple animated text input for react-native
We found that @big-tam/react-native-animated-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.