Loading
CI / CD | Status |
---|---|
NPM | |
Semaphore CI | |
Circle CI | |
Coverall | |
SonarCloud |
loading
generates a simple loader to use in React projects.
Installation
npm install @sineverba/loading@0.2.0
to install generic React version
npm install @sineverba/loading@1.0.0
to install Next.js version
Usage
import {Loading} from "@sineverba/loading";
const Example = () => <Loading />:
export default Example;
Props
Name | Type | Default value |
---|---|---|
Size | Size Props (string) | 2xl |
Tests
npm run test
for simple test
npm run cover
for coverage