New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

react-virtua-select

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-virtua-select

react-virtua-select

latest
Source
npmnpm
Version
1.1.1
Version published
Maintainers
1
Created
Source

react-virtua-select

react-virtua-select

NPM JavaScript Style Guide

Install

npm install --save react-virtua-select

Demo

Demo and playground are available here

Versions

CHANGELOG

Usage Example

import React from 'react';
import VirtualizedSelect from 'react-virtua-select';

const options = [
  {
    value: 'item-1',
    label: 'item 1',
  },
   {
    value: 'item-2',
    label: 'item 2',
  },
   {
    value: 'item-3',
    label: 'item 3',
  }
];

const Demo = () => {
  const [value, setValue] = React.useState('');
  return (
    <VirtualizedSelect options={options} value={value} onChange={setValue} />
  );
};

Develop

In the project directory, you can run:

npm install

npm start

Runs the app in the development mode.
Open http://localhost:6006 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

License

MIT © bonnv79

Keywords

react

FAQs

Package last updated on 11 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts