1.1.4 • Published 4 years ago

react-autocomplete-npm v1.1.4

Weekly downloads
-
License
-
Repository
github
Last release
4 years ago

React-Autocomplete

This is a simple light weight autocomplete select component for react. Initially built for use in STEPS Ejyothi.

Live Demo

Check out the React Autocomplete Sandbox for a live demo.

Installation

npm install react-autocomplete-npm

Usage

import { useState, React } from 'react';
import { Multiselect } from 'react-autocomplete-npm';

const options = [
  { vale: 1, label: "Angular" },
  { value: 2, label: "React" },
  { value: 3, label: "View" },
  { value: 4, label: "LoveJS" }
];

function App() {
  const [selectedItem, handleChange] = useState(null);
  return (
    <div className="react-autocomplete-npm">
      <Multiselect
        placeholder={'Search Items'}
        data={options}
        value={selectedItem}
        handleOnChange={handleChange}
      />
    </div>
  );
}

export default App;
2.0.0-beta.1

1 year ago

2.0.0-beta.0

1 year ago

2.0.0-beta.6

1 year ago

2.0.0-beta.5

1 year ago

2.0.0-beta.4

1 year ago

2.0.0

1 year ago

2.0.0-beta.3

1 year ago

1.2.0

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago