/tagsarea

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

Primary LanguageJavaScript

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