- Fork and clone the project.
- Install Bit.
- Create a new spinner component using Bit create
bit create react your-spinner-name -a teambit.react/react-env. - Create
style.module.cssinside the new folder. - You can remove the spec file.
- Create your spinner in a functional component similar to the other textSpanIntersection, and use the
SpinnerPropstype:import type { SpinnerProps } from '@joshk/react-spinners-css.types';. - Add export of your spinner in the index file
src/components/index.ts. - Add your spinner to the list of spinners table in the README file.
- Share with the community by submitting a PR.