
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
@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
The npm package @big-tam/react-native-animated-text-input receives a total of 15 weekly downloads. As such, @big-tam/react-native-animated-text-input popularity was classified as not popular.
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.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.