material-ui-chip-text-input
v0.0.3
Published
A chip input field using Material-UI.
Downloads
24
Readme
Material-ui-chip-text-input
This component provides a chip input field using Input component from Material-UI library.
Demo
Installation
As a prerequisite, you must include the Material icon font in your project, for instance, via Google Web Fonts:
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
npm i material-ui-chip-text-input --save
Note: If you are using Material-UI 1.0.0-beta, you should update to the latest version.
Usage
import ChipTextInput from 'material-ui-chip-text-input';
<ChipTextInput
name="foo"
placeholde="Type here!"
onChange={(chips) => handleChange(chips)}
/>
TODO
- [x] Initial component
- [ ] Test
- [ ] Initial Values
License
The files included in this repository are licensed under the MIT license.