Socket
Socket
Sign inDemoInstall

@arelstone/react-native-email-chip

Package Overview
Dependencies
0
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @arelstone/react-native-email-chip

React Native component to display a list of emails as editable chips


Version published
Weekly downloads
19
increased by5.56%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

@arelstone/react-native-email-chip

A simple yet very customizable component to display a chip list of emails

@arelstone/react-native-email-chip

Install

npm install @arelstone/react-native-email-chip
// or
yarn add @arelstone/react-native-email-chip

Usage

import EmailChipInput from '@arelstone/react-native-email-chip';

<EmailChipInput
    entries={['john@doe.com', 'jane@doe.com']}
    onSubmit={(emails: string[])=> this.setState({emails})}
/>

Props

NameTypeDefault
entriesstring[][]
onSubmitstring[] => void
label (optional)ReactElement
delimiters (optional)string[][',', ';', ' ']
keyboardAppearance (optional)default, light, darkdefault
keyboardAppearance (optional)never, while-editing, unless-editing, alwayswhile-editing
placeholder (optional)stringStart by typing an email
autoCapitalize (optional)none, sentences, words, charactersnone
autoCorrect (optional)booleantrue
autoFocus (optional)booleantrue
blurOnSubmit (optional)booleanfalse
chipImage (optional)ReactElement
placeholderTextColor (optional)ViewStyle
containerStyle (optional)ViewStyle
chipContainerStyle (optional)ViewStyle
chipTextStyle (optional)TextStyle
inputContainerStyle (optional)ViewStyle
inputStyle (optional)ViewStyle
TextInputProps (optional)TextInputProps
keyboardType (optional)KeyboardTypeOptionsemail-address

Contributing

If you find a feature missing or discover an issue pull requests are very very welcome.

Keywords

FAQs

Last updated on 07 Aug 2023

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