react-loadingmask





A Loading Component for displaying loading state of a page or a section.
Install
``
sh
npm i --save react-loadingmask
yarn add react-loadingmask --save
`
Getting Started
`
js
import LoadingMask from "react-loadingmask";
import "react-loadingmask/dist/react-loadingmask.css";
Compoment You want to display
``
Demo
-
preview
-
code
Properties
| Props | Type | Description | Default |
| :-------- | :-------- | :----------------------------------- | :------ |
| loading | boolean | Loading status | false |
| text | string | Customize description content | - |
| indicator | ReactNode | React node of the spinning indicator | - |