Skip to content

Latest commit

 

History

History
25 lines (19 loc) · 710 Bytes

File metadata and controls

25 lines (19 loc) · 710 Bytes

React Native Tag Input

alt text

Simple Example

import TagInput from 'react-native-tag-input';

...

<TagInput
  value={this.state.emails}
  onChange={(emails) => this.onEmailChange(emails)} />
Available Properties Description
value (Required) An array of tags
onChange (Required) A handler to be called when array of emails/tags change
regex A RegExp to test tags after enter, space, or a comma is pressed
tagColor Background color of tags
tagTextColor Text color of tags
inputColor Color of text input
inputProps Any misc. TextInput props (autofocus, returnKeyType, etc.)