react-simpler-select

A simple and highly reusable <select> component built for React

npm Build Status devDependency Status Code Climate

Usage

npm install --save react-simpler-select

import Select from 'react-simpler-select';

const options = [
  { value: 'en', label: 'English' },
  { value: 'es', label: 'Spanish' },
];

<Select
  placeholder="Choose a language"
  value="en"
  options={options}
  onChange={onChange}
/>

Examples