A react component to render small to large dataset as a dropdown. It allows user to search and select multiple values.
- Clone or unzip the repository.
- Go to the directory.
- Install all the dependencies using
npm install
. - I am using react-scripts to run the development server. To do that you need to have it installed which can be done using
npm install -g react-scripts
. - Now you can run the project using
npm run start
. - Then on the interface you will see a dropdown. You can click on any element to select it. The current dropdown is multi select.
- To do single select you have to remove multiselect prop from dropdown in App.jsx