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.3 to 1.0.4

13

index.js

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

class FloatingLabel extends Component {
lineColor = 'black'
headerColor = 'black'

@@ -16,4 +13,4 @@ constructor(props) {

}
this.props.lineColor = this.props.lineColor != null ? this.props.lineColor : lineColor
this.props.headerColor = this.props.headerColor != null ? this.props.headerColor : this.props.lineColor
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

@@ -33,2 +30,5 @@ }

}
if(this.props.onChangeText) {
this.props.onChangeText(text)
}
}

@@ -42,2 +42,5 @@

}
if(this.props.endEditing) {
this.props.endEditing()
}
}

@@ -44,0 +47,0 @@

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