# search-multiple-select

> searchable multiple select react component

Latest version **1.0.3** (published 2021-02-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install search-multiple-select
pnpm add search-multiple-select
yarn add search-multiple-select
bun add search-multiple-select
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2021-02-13 |
| First published | 2021-02-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 0 |
| Unpacked size | 28.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Nazeh-Taha |
| Maintainers | nazeh-taha |

## Links

- npm: https://www.npmjs.com/package/search-multiple-select
- Repository: https://github.com/Nazeh-Taha/search-multiple-select
- Homepage: https://github.com/Nazeh-Taha/search-multiple-select#readme
- Issues: https://github.com/Nazeh-Taha/search-multiple-select/issues
- npm.io page: https://npm.io/package/search-multiple-select

## Recent versions

- 1.0.3 (latest) — 2021-02-13
- 1.0.2 — 2021-02-12
- 1.0.1 — 2021-02-12
- 1.0.0 — 2021-02-12

## README

# search-multiple-select

> searchable multiple select react component

[![NPM](https://img.shields.io/npm/v/search-multiple-select.svg)](https://www.npmjs.com/package/search-multiple-select) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

## Install

```bash
npm install --save search-multiple-select
```
## Desktop Demo:
![Demo](https://s2.gifyu.com/images/select.png)

## Usage

```jsx
import React, { Component } from 'react'

import MultipleSelect from 'search-multiple-select'
import 'search-multiple-select/dist/index.css'

class Example extends Component {
// the callback. Use a better name
   const getOptionsData = (data) => { 
    console.log(data); // print option data - to test
  };

  render() {
    return <MultipleSelect options={['']} getOptionsData={getOptionsData}/>
  }
}
```

## Props

| Property       | Type     | Default    | Description                       |
| :-------       | :-----   | :--------  | :---------------------------      |
| `options`      | Array    | ['']       | Array of string - Options to show |
|`getOptionsData`| Function | () => {}   | return option data                |


## License

MIT © [Nazeh-Taha](https://github.com/Nazeh-Taha)

---
_Source: https://npm.io/package/search-multiple-select · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
