input-tags
v0.3.1
Published
Input tags
Downloads
7
Maintainers
Readme
React input tags
input tags component
Installation
install with npm:
npm install --save input-tags
Usage
Import the component
import InputTags from "input-tags"
now you can use the component
<InputTags className="input-tags" />
input takes by default 100% of width, you can apply your custom css by adding a style object or a class
API
| Name | Description | | ------------ | :---------------------------------------------------------------------: | | onChange | event occurs when new tag is added | | style | style object to apply on input | | className | add a class to apply your custom css on input default value "" | | max | max number of tags default unlimited |