floatingtextfield
Advanced tools
Comparing version 1.0.2 to 1.0.3
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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2691