Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
@big-tam/react-native-animated-text-input
Advanced tools
Readme
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 5 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.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.