sbx-react-select

0.0.8 • Public • Published

SBX React Select


sbx i --save sbx-react-select
import Select from 'sbx-react-select';
<Searchable
    value="" //if value is not item of options array, it would be ignored on mount
    placeholder="Search" // by default "Search"
    notFoundText="No result found" // by default "No result found"
    options={[{
        value: '',
        label: 'All'
    }, {
        value: 'popular',
        label: 'Popular
    }]}
    onSelect={option => {
        console.log(option); // as example - {value: '', label: 'All'}
    }}
    listMaxHeight={200} //by default 140
/>

Readme

Keywords

none

Package Sidebar

Install

npm i sbx-react-select

Weekly Downloads

13

Version

0.0.8

License

none

Unpacked Size

18.4 kB

Total Files

7

Last publish

Collaborators

  • v.sobix