brychanrobot / material-input-chips

Home Page:https://rodrigonehring.github.io/material-input-chips/styleguide/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

material-input-chips

This project provides a chip input field for material-ui@next. It is inspired by https://github.com/TeamWertarbyte/material-ui-chip-input.

WORKING!

Installation

npm i --save material-input-chips

Usage

import React from 'react'
import InputChips from 'material-input-chips'

class MyComponent extends React.Component {
  state = { selected: [] }

  render() {
    return (
      <InputChips
        selected={this.state.selected}
        onChange={(selected) => this.seState({ selected })}
      />
    )
  }
}

About

https://rodrigonehring.github.io/material-input-chips/styleguide/


Languages

Language:JavaScript 98.9%Language:HTML 1.1%