# react-select-for-hrnet

> react select dropdown component

Latest version **1.0.5** (published 2023-10-21) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-select-for-hrnet
pnpm add react-select-for-hrnet
yarn add react-select-for-hrnet
bun add react-select-for-hrnet
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2023-10-21 |
| First published | 2023-10-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | senga |
| Maintainers | _senga_ |
| Keywords | react, select, dropdown, component |

## Links

- npm: https://www.npmjs.com/package/react-select-for-hrnet
- npm.io page: https://npm.io/package/react-select-for-hrnet

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2023-10-21
- 1.0.4 — 2023-10-21
- 1.0.3 — 2023-10-21
- 1.0.2 — 2023-10-21
- 1.0.1 — 2023-10-21
- 1.0.0 — 2023-10-21

## README

# react-library-senga
A React library for creating custom Select components.
## prerequisites
- react
- react-dom
- npm

## Repository
- [react-library-senga](https://github.com/senga200/hrNet-component)

## CodeSandbox 
[try it on CodeSandBox](https://codesandbox.io/s/react-component-select-npmpackage-xxr5lx?file=/src/App.js:0-649)

## installation
install with npm:
```bash 
npm install react-select-for-hrnet
```

install with yarn:
```bash 
yarn add react-select-for-hrnet
```

### using options

You can pass an array of options to the options prop to define the possible choices in the dropdown menu. Each option should have a value and a label. Here's an example:

```jsx
import React from 'react';
//import the Select component 
import Select from 'react-select-for-hrnet';
//import the css file
import "react-select-for-hrnet/src/Select.css";

function MySelect(){
  //customise your options
   const optionList = [
      {value: 'option1', label: 'Option 1'},
      {value: 'option2', label: 'Option 2'},
      {value: 'option3', label: 'Option 3'},
   ];

    return (
        <Select
        options={optionList}
        />
    );
}

export default MySelect;
```

### customising the select

in your css file, you can customise the select component by using the following classes:
```css	

.selectInput {
  color: lightgray;
  border-radius: 5px;
}

.selectInput:hover {
  background-color: lightblue;
}

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