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
; { return <View style=stylescontainer> <TagInput ref='tagInput' initialTags=initialTags suggestions=thisstatedatasuggestions containerStyle=stylestaginput onChange=this_onChange onUpdateLayout=this_onUpdateLayout /> </View> ; }
Examples
Add example link
Props
Prop | Type | Description |
---|---|---|
initialTags | array | |
suggestions | array | |
containerStyle | style | |
inputContainerStyle | style | |
listStyle | style | |
placeholder | string | |
onUpdateTags | function | |
onUpdateLayout | function |
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