This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

reaselct
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

reaselct

Select Component for React

          GitHub stars  

🚀 Quick Links

🪄 Features

  • Single Select
  • Multi Select
  • Filtering with Fuzzy Search
  • Async Support
  • Groups Support
  • Light and Dark Theme

📦 Usage

Install the package via NPM:

npm i reaselct --save

then use it like:

import React, { FC, useState } from 'react';
import { Select, SelectOption } from 'reaselct';

const MyComponent: FC = () => {
  const [value, setValue] = useState<string | null>(null);
 
 return (
    <Select
      value={value}
      onChange={setValue}
    >
      <SelectOption value="facebook">facebook</SelectOption>
      <SelectOption value="twitter">twitter</SelectOption>
      <SelectOption value="twitch">twitch</SelectOption>
    </Select>
  );
};

🔭 Development

If you want to run reaselct locally, its super easy!

  • Clone the repo
  • yarn install
  • yarn start
  • Browser opens to Storybook page

❤️ Contributors

Thanks to all our contributors!

Readme

Keywords

Package Sidebar

Install

npm i reaselct

Weekly Downloads

36

Version

2.1.0

License

Apache-2.0

Unpacked Size

160 kB

Total Files

31

Last publish

Collaborators

  • amcdnl