You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

react-native-taginput

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-taginput

Tag input component fro React Native

0.1.0
latest
Source
npmnpm
Version published
Weekly downloads
5
150%
Maintainers
1
Weekly downloads
 
Created
Source

react-native-taginput

Tag input component fro React Native

ChangeLog

  • v0.1.0
  • Initial working version

Installation

  • Run npm install react-native-taginput --save
  • import TagInput from 'react-native-taginput

Basic usage

import TagInput from 'react-native-taginput';

class App extends Component {
  render() {
    return (
      <View style={styles.container}>
        <TagInput
          ref='tagInput'
          initialTags={initialTags}
          suggestions={this.state.data.suggestions}
          containerStyle={styles.taginput}
          onChange={this._onChange.bind(this)}
          onUpdateLayout={this._onUpdateLayout.bind(this)}
        />
      </View>
    );
  }
}

Examples

Add example link

Props

PropTypeDescription
initialTagsarray
suggestionsarray
containerStylestyle
inputContainerStylestyle
listStylestyle
placeholderstring
onUpdateTagsfunction
onUpdateLayoutfunction

Contribution

Issues and Pull requests are welcome. Please add a screenshot of bug and code snippet.

About

This is inspired by react-native-autocomplete-input.

MIT Licensed

Keywords

react-native-component

FAQs

Package last updated on 08 Aug 2016

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