0.1.5 • Published 5 years ago
react-chip v0.1.5
Manage a list of chips based on a strings list.
Why it's awesome
Install
Install with npm
$ npm install react-chipInstall with Yarn
$ yarn add react-chipUsage
import React from 'react'
import ReactChip from 'react-chip'
// basic usage
<ReactChip onChange={chips => {console.log(chips)}} />
// advanced usage
<ReactChip
  className={'MyClassName'}
  defaultChips={['React', 'Node.js']}
  defaultValue={'JavaScript'}
  id={'my-id'}
  name={'something'}
  maxLength={10}
  onChange={chips => {console.log(chips)}}
/>Contributing
Want to contribute? Follow these recommendations.
License
Designed with ♥ by CJ Patoilo. Licensed under the mit License.