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

react-native-email-chip

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-email-chip

A simple and customizable React Native component that implements email chips.

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

react-native-email-chip

A simple and customizable React Native component that implements email chips.

Demo

Installation

npm install react-native-email-chip

Example

import EmailChip from 'react-native-email-chip';
...
onChange = (emails) => {
  this.setState({ emails })
}
...
 <EmailChip
    emails={this.state.emails}
    onChange={this.onChange}
    // placeholder="Enter email"
    // placeholderTextColor="black"
    // chipContainerStyle={{backgroundColor:'white'}}
    // invalidChipContainerStyle={{backgroundColor:'red'}}
    // chipTextStyle={{color:'#000'}}
    // invalidChipTextStyle = {{color: 'white'}}
    // textInputStyles={{borderBottomWidth: 0}}
  />

Props

PropDescriptionTypeDefault
emailsAn array of email chips to be displayedArrayRequired
onChangeA handler to be called when array of email chips change.FunctionRequired
chipContainerStyleStyling override for container surrounding chipObject{{backgroundColor: '#d2d5dd'}}
invalidChipContainerStyleStyling override for container surrounding invalid chipObject{{backgroundColor: '#CC2D22'}}
chipTextStyleStyling override for chip textObject{{color: 'black'}}
invalidChipTextStyleStyling override for invalid chip textObject{{color: 'white'}}
textInputStylesStyling override for textinputObject{{borderBottomWidth : 1}}
placeholderCustom placeholder textString"Enter email"
placeholderTextColorStyling override for placeholder text colorString"grey"

Keywords

FAQs

Package last updated on 03 Feb 2020

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

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