- Fork and clone the project.
- Create a folder for your spinner in the components folder, name the folder in upper case.
- Create two files inside, one
index.js
for writing the spinner itself, andstyle.css
for the css code. - Create a functional component with export default, and don't forget to add
propTypes
, you can copy them from other component. - Add your spinner to the demo page in
src/index.js
, and also to main export file insrc/components/index.js
. - Add your spinner to the list of spinners table in the README file.
- Run
npm run format
to run prettier formater, and share with the community by submitting a PR.
- Fork and clone the project.
- Update the code or add your features, and don't forget to update
propTypes
if needs. - Run the project to see that your update is working correctly.
- Update the props in the spinners table if needs in the README file.
- Run
npm run format
to run prettier formater, and share with the community by submitting a PR.