New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.4 to 1.0.5

7

index.js

@@ -12,5 +12,2 @@ import React, { Component } from 'react';

}
this.props.lineColor = this.props.lineColor != null ? this.props.lineColor : this.lineColor
this.props.headerColor = this.props.headerColor != null ? this.props.headerColor : this.lineColor
this.props.isMandatory = this.props.isMandatory != null ? this.props.isMandatory : false
}

@@ -52,3 +49,3 @@

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

@@ -58,3 +55,3 @@ }} onEndEditing={(text) => {

}}/>
<Text style={[styles.textFieldHeader, { display:'flex', top:top, color: this.props.headerColor }]}>{this.props.heading}</Text>
<Text style={[styles.textFieldHeader, { display:'flex', top:top, color: this.props.titleColor != null ? this.props.titleColor : this.props.lineColor }]}>{this.props.title}</Text>
</View>

@@ -61,0 +58,0 @@ )

{
"name": "floatingtextfield",
"version": "1.0.4",
"version": "1.0.5",
"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