0.3.1 • Published 5 years ago
input-tags v0.3.1
React input tags
input tags component
Installation
install with npm:
npm install --save input-tagsUsage
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 |