Skip to content

CodeDistillery/react-mdl-select

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React-MDL SelectField

SelectField autocomplete component for React Material Design Lite

Requirements

  • React
  • React-mdl
  • Lodash

Installation

npm install --save react-mdl-select

Usage

import { MDLSelectField } from 'react-mdl-select';

render() {
  return() (
    <MDLSelectField
      label="Country"
      value={this.props.country}
      autocomplete
      floatingLabel
      onChange={() => {}}
      items={this.props.countries}
      keyField="code"
      valueField="name"
    />
  );
}

About

Backup of the react-mdl-select package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published