npm install react-load-maskreact-load-mask
===============
> A carefully crafted LoadMask for React
``sh`
$ npm i react-load-mask --save
* adjustable size
* adjustable visibility
* easily themeable
* css animations
* small footprint
`javascript
import 'react-load-mask/index.css'
import LoadMask from 'react-load-mask'
`
* visible - defaults to false. Set to true if you want the LoadMask to be visible.size
* - defaults to 40. The size of the loader inside the LoadMasktheme
* - defaults to "default". See the theming section below.
The base css class of the component is react-load-mask.
For having the default theme, just import react-load-mask/index.css.react-load-mask/base.css
Basically, that uses (the functional styles) AND react-load-mask/theme/default.css (the default theme styles).
If you want to use/build another theme, you can render the LoadMask as:
`jsx`
The code above makes the LoadMask component have the react-load-mask--theme-custom` className.
#### MIT