cover

Getting Started

To get started first you need to install @crispengari/react-activity-indicators as follows:

cover

Using yarn

If you are using yarn as your package manager you install @crispengari/react-activity-indicators as follows:

Using npm

If you are using npm as your package manager you install @crispengari/react-activity-indicators as follows:

Using pnpm

If you are using pnpm as your package manager you install @crispengari/react-activity-indicators as follows:

You need to import @crispengari/react-activity-indicators/dist/react-activity-indicators.cjs.development.cssas a global css file. We recommend to import this file in index.tsx | index.js in a react project that is created using create react-app. In a nextjs project we recommend you to import this file in the _app.tsx|_app.js as a global style file.

Next.js

If your project is a next.js project you need to import @crispengari/react-activity-indicators/dist/react-activity-indicators.cjs.development.css in _app.tsx | _app.jsas follows

React.js

If your project is a react.js project you need to import @crispengari/react-activity-indicators/dist/react-activity-indicators.cjs.development.css in index.tsx | index.jsas follows