This project is a React application that demonstrates how to implement a good accessable select component using only Typescript.
- A demo application showcasing various usage scenarios of a single or multi React Select component.
Before getting started, ensure that you have the following installed on your machine:
- Node.js (version 12 or higher)
- npm (Node package manager)
Follow these steps to set up the project on your local machine:
- Clone the repository:
git clone https://github.com/dmcleish91/react-select.git
- Change into the project directory:
cd react-select
- Install the dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser and navigate to http://localhost:3000 to view the application.
The project structure is as follows:
public/
: Contains the static assets and HTML template for the application.src/
: Contains the main source code for the React application.components/
: Contains reusable React components used in the application.App.tsx
: The entry point of the application.select.tsx
: The select component.
The main dependencies used in this project are:
- React: A JavaScript library for building user interfaces.
- Vite: A fast build tool for modern web development.
Contributions are welcome! If you encounter any issues or have suggestions for improvements, please create an issue on the GitHub repository.