0.0.8 • Published 8 years ago

react-tagger v0.0.8

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

react-tagger

Dead Simple React Tag Input Component

Dead Simple React Tag Input Component with Suggest, readonly, flexible with custom CSS, plus custom delete icon.

Demo

npm.io

Install now

npm install react-tagger --save

API

PropTypeDefaultDescription
tagsArray[]All available tags
valueArray[]Currently selected tags
deleteIconURLString-Path to the icon that goes to the left side of the tag (delete button)
onChangeFunction-Callback function that is called every time tag selection changes
readonlyBooleanfalseIf you want only demonstration for your value tags

Styling

By default the plugin has no styling, if you want to have some styling please refer to example/index.css and modify it to your needs.

You want to help

Please help to make it better! :octocat:

To run the example with hot reload (+ hot reload of actual plugin code)

npm run dev-example

To build examples:

npm run build-example
To build just the plugin
npm run build
Modifying dist/* is :-1:. Modifying src/* is :+1:. Note, I will not accept pull requests with any changes in dist folder.

TODO

  • Ability to add custom tags
  • Make plugin more flixible (more control with different props)
  • Add propTypes

Other projects by n49

react-stars :star: - Star rating component for your React projects

0.0.8

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago