Skip to content

jhimy-michel/select-component

Repository files navigation

SELECT COMPONENT

This project was created using Vite + React + TS.

TypeScript React Vite

Note: This project was bootstrapped with Create Vite App

Single select component

singleSelect

Multi select component

multiSelect

Setup

  1. Clone this repo
  2. Install all the dependencies (npm install)
  3. Run in a terminal: npm run dev

Deploy a new version

Navigate to the scripts folder:

cd scripts/

And execute the deploy.sh script:

./deploy.sh

Use the keyboard to interact with the component

⌨️ Command 🖥️ Action
tab activate the select componet
space open list of possible selections
⬆️ navigate up
⬇️ navigate down

Disclaimer: This project is based on this tutorial: https://www.youtube.com/watch?v=bAJlYgeovlg&t=1s&ab_channel=WebDevSimplified