You can contribute by adding new components, fixing bugs, grammar or improving accessibility.
- Fork this repository to your own GitHub account and then clone it to your local device.
- Create a new branch
git checkout -b MY_BRANCH_NAME
- Install yarn:
npm install -g yarn
- Install the dependencies:
yarn
- Run
yarn dev
to build and watch for code changes - Push your contribution to the branch you created
git push origin MY_BRANCH_NAME
- Navigate to the original repository where you created your fork
- Click on
Compare and pull request
to view changes - Then click on
create pull request
Create your new directory in packages/{yourComponentName} Inside your folder, you will create 2 subfolders and one file
- examples : will contains examples for your component in TypeScript**
- snippets : Will contains examples in plain React and will be used as code snippet to copy
- accordion.tsx will contains the logic of your components
Create your new file(route) in pages/components/{yourComponentName}. Then you will import all the examples and snippets for your component