Socket
Socket
Sign inDemoInstall

react-native-input-outline

Package Overview
Dependencies
6
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-native-input-outline

A react-native component for a themed text input box.


Version published
Weekly downloads
125
decreased by-29.38%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

react-native-input-outline

A react-native component that uses a customized text input.

Installation

$ npm i -- save react-native-input-outline

or

$ yarn add react-native-input-outline

Usage

This component inherits props from TextInput in the standard React-Native library, so you can essentially use it in the same way that you would use that TextInput. However, you can configure the colors, and the placeholder, and the overall styling if you wish, however the whole point of this component is so you don't have to do any styling yourself.

import InputOutline from 'react-native-input-outline';

<InputOutline
  placeholder="Email"
  focusedColor='blue'
  defaultColor='grey'
/>

Props

PropDescriptionDefault
Inherited PropsAny prop from React-Native TextInputTextInput Props
placeholderThe label/placeholder that will display giving information about your input field.String("Placeholder")
focusedColorThe color that shows when the input is focused.String("blue")
defaultColorThe color that shows when the input is empty and not focused.String("#c5b4b8")

Keywords

FAQs

Last updated on 04 Feb 2020

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc