# react-select-robin-easy

> React select Robin component

Latest version **0.0.0** (published 2023-07-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-select-robin-easy
pnpm add react-select-robin-easy
yarn add react-select-robin-easy
bun add react-select-robin-easy
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.0 |
| Published | 2023-07-27 |
| First published | 2023-07-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 37.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Robin Bonhoure |
| Maintainers | robinbonhoure |

## Links

- npm: https://www.npmjs.com/package/react-select-robin-easy
- npm.io page: https://npm.io/package/react-select-robin-easy

## Recent versions

- 0.0.0 (latest) — 2023-07-27

## README

# Select Component

A component that renders a select input element.

## Props

- **data** (Array): The array of data to populate the select options.
- **value** (function): The function to be called when the select value changes.
- **name** (string): The name to be displayed as the default option.

## Returns

- **JSX.Element**: The rendered select input element.

## Usage

```javascript
import React from 'react';
import Select from './Select';

function App() {
  const data = [
    { name: 'Option 1' },
    { name: 'Option 2' },
    { name: 'Option 3' },
  ];

  const handleSelectChange = (event) => {
    const selectedOption = event.target.value;
    // Do something with the selected option
  };

  return (
    <div>
      <Select data={data} value={handleSelectChange} name="Select an option" />
    </div>
  );
}

export default App;

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