oum-react-select
v1.0.1
Published
Duplicates and extends the functionality of a native HTML select element, allowing it to be customizable in behavior and appearance far beyond the limitations of a native select.
Downloads
1
Readme
oum-react-select
Duplicates and extends the functionality of a native HTML select element, allowing it to be customizable in behavior and appearance far beyond the limitations of a native select.
Install
npm install --save oum-react-select
Usage
import React, { Component } from 'react'
import ReactSelect from 'oum-react-select'
import 'oum-react-select/dist/index.css'
class Example extends Component {
render() {
const departments = ["Sales", "Marketing", "Engineering", "Human Resources", "Legal"];
return <ReactSelect id="department"
value={'t'}
options={departments}
onChange={e => {}}
listLabel="Chose your department"
showListLabel={true}
requiredFeedbackEnabled={true} />
}
}
License
MIT © Oumaima MEDDAH