New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@verticalstrategy/react-native-floating-label-text-input

Package Overview
Dependencies
Maintainers
3
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@verticalstrategy/react-native-floating-label-text-input

An alternative to TextInput by Vertical Strategy

2.0.0
latest
Source
npm
Version published
Weekly downloads
15
25%
Maintainers
3
Weekly downloads
 
Created
Source

React Native Floating Label Text Input

Used as an alternative to TextInput by us in Vertical Strategy, we thought you might love it too.

Installation

yarn add @verticalstrategy/react-native-floating-label-text-input

Usage

import FloatingLabelTextInput from 'react-native-floating-label-text-input'

<FloatingLabelTextInput
  containerStyle={{ width: '100%', height: 45 }}
  onChangeText={this.onChangeText}
  placeholder={`Name`}
  value={this.state.name}
/>

Props

Besides TextInput Props, the following props can be passes to the component.

ParamTypeDescription
containerStyleanyStyles for the container wrapping the internal TextInput and label.
labelstringIf provided, this will be displayed in the label instead of the placeholder text.
labelStyleanyStyles for the label.
underlineColorAndroidstringPassed as underlineColorAndroid to TextInput
innerReffuncPassed as ref to TextInput

Keywords

textinput

FAQs

Package last updated on 14 Feb 2019

Did you know?

Socket

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.

Install

Related posts