0.3.1 • Published 3 years ago

input-tags v0.3.1

Weekly downloads
-
License
-
Repository
github
Last release
3 years ago

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

NameDescription
onChangeevent occurs when new tag is added
stylestyle object to apply on input
classNameadd a class to apply your custom css on input default value ""
maxmax number of tags default unlimited