npm.io
1.0.2 • Published 8 years ago

tagsarea

Licence
MIT
Version
1.0.2
Deps
1
Size
36 kB
Vulns
0
Weekly
0
Stars
2

tagsarea

A textarea-resembling interface to write posts in form of separated tags

Alt Text

NPM JavaScript Style Guide

Install

npm install --save tagsarea

or

yarn install tagsarea

Usage

import React, { Component } from 'react'

import TagsArea from 'tagsarea'

export default class App extends Component {
  render () {
    return <TagsArea placeholder="Write something" onSubmit={(tags) => console.log(tags)} />
  }
}

Customization

Component supports customization through the use of react-jss styled components.

Available classes: caret, tagsarea, tag.

(Example TBA)

License

MIT optimista