Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

floatingtextfield

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

floatingtextfield - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

index.js
import React, { Component } from 'react';
import { StyleSheet, View, FlatList } from 'react-native';
import { StyleSheet, View, TextInput, Text } from 'react-native';

@@ -48,3 +48,3 @@ class FloatingLabel extends Component {

<View style={[styles.container, { borderColor:this.state.alertMandatory ? 'red' : this.props.lineColor, height:this.props.height != null ? this.props.height : 54 }]}>
<TextInput style={[styles.textField, { height:'75%', top:20 }]} onChangeText={(text) => {
<TextInput secureTextEntry={this.props.secureTextEntry} style={[styles.textField, { height:'75%', top:20 }]} onChangeText={(text) => {
this.textChanged(text)

@@ -51,0 +51,0 @@ }} onEndEditing={(text) => {

{
"name": "floatingtextfield",
"version": "1.0.2",
"version": "1.0.3",
"description": "Floating label Textfield as in Android",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc