A textarea-resembling interface to write posts in form of separated tags
npm install --save tagsarea
or
yarn install tagsarea
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)} />
}
}
Component supports customization through the use of react-jss
styled components.
Available classes: caret
, tagsarea
, tag
.
(Example TBA)
MIT © optimista