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

@rise-digital/react-native-floating-label-text-input

Package Overview
Dependencies
Maintainers
2
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rise-digital/react-native-floating-label-text-input

An alternative to TextInput by Rise

1.0.0
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
2
Weekly downloads
 
Created
Source

React Native Floating Label Text Input

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

Installation

yarn add @rise-digital/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.

Keywords

textinput

FAQs

Package last updated on 20 Mar 2018

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