# @types/react-virtualized-select

> TypeScript definitions for react-virtualized-select

Latest version **3.0.17** (published 2023-12-05) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/react-virtualized-select
pnpm add @types/react-virtualized-select
yarn add @types/react-virtualized-select
bun add @types/react-virtualized-select
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.0.17 |
| Published | 2023-12-05 |
| First published | 2017-06-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 5.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/react-virtualized-select
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-virtualized-select
- npm.io page: https://npm.io/package/@types/react-virtualized-select

## Dependencies (3)

- [@types/react](https://npm.io/package/@types/react.md) ^17
- [@types/react-select](https://npm.io/package/@types/react-select.md) ^1.0.0
- [@types/react-virtualized](https://npm.io/package/@types/react-virtualized.md) *

## Recent versions

- 3.0.17 (latest) — 2023-12-05
- 3.0.16 (ts4.5) — 2023-11-07
- 3.0.12 (ts3.9) — 2022-04-07
- 3.0.11 (ts3.7) — 2021-10-20
- 3.0.9 (ts3.6) — 2021-07-08
- 3.0.8 (ts2.8) — 2019-10-09
- 3.0.5 (ts2.6) — 2018-04-26
- 3.0.2 (ts2.3) — 2017-08-31
- 3.0.0 (ts2.1) — 2017-06-15
- 3.0.15 — 2023-10-18
- 3.0.14 — 2023-10-10
- 3.0.13 — 2023-09-27
- 3.0.10 — 2021-09-30
- 3.0.7 — 2018-08-03
- 3.0.6 — 2018-07-24
- … 3 more at https://npm.io/package/@types/react-virtualized-select/versions

## README

# Installation
> `npm install --save @types/react-virtualized-select`

# Summary
This package contains type definitions for react-virtualized-select (https://github.com/bvaughn/react-virtualized-select).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-virtualized-select.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-virtualized-select/index.d.ts)
````ts
import * as React from "react";
import {
    LoadOptionsHandler,
    OptionValues,
    ReactAsyncSelectProps,
    ReactCreatableSelectProps,
    ReactSelectProps,
} from "react-select";
import { ListProps } from "react-virtualized";

export interface VirtualizedOptionRenderOptions<T> {
    focusedOption: T;
    focusedOptionIndex: number;
    focusOption(option: T): void;
    key: string;
    labelKey: keyof T;
    listProps: ListProps;
    option: T;
    options: T[];
    selectValue(option: T): void;
    style: Record<string, string>;
    valueArray: T[];
}

export interface AdditionalVirtualizedSelectProps<TValue> {
    maxHeight?: number | undefined;
    optionHeight?: number | ((options: { option: TValue }) => number) | undefined;
    optionRenderer?(options: VirtualizedOptionRenderOptions<TValue>): React.JSX.Element;
    selectComponent?: React.ComponentClass<any> | React.FunctionComponent<any> | undefined;
}

type VirtualizedSelectProps<TValue = OptionValues> =
    | (ReactCreatableSelectProps<TValue> & ReactAsyncSelectProps<TValue> & AdditionalVirtualizedSelectProps<TValue> & {
        async: true;
    })
    | ReactCreatableSelectProps<TValue> & ReactSelectProps<TValue> & AdditionalVirtualizedSelectProps<TValue>;

declare class VirtualizedSelect<TValue = OptionValues> extends React.PureComponent<VirtualizedSelectProps<TValue>> {}
export default VirtualizedSelect;

````

### Additional Details
 * Last updated: Tue, 05 Dec 2023 12:09:51 GMT
 * Dependencies: [@types/react](https://npmjs.com/package/@types/react), [@types/react-select](https://npmjs.com/package/@types/react-select), [@types/react-virtualized](https://npmjs.com/package/@types/react-virtualized)

# Credits
These definitions were written by [Sean Kelley](https://github.com/seansfkelley).

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