@sineverba/loading
v1.0.0
Published
Generates a simple loader to use in React projects
Downloads
7
Readme
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/[email protected]
to install generic React version
npm install @sineverba/[email protected]
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