To start using the
<LoadMask />, all you need to import is
React, the code and styles of the component itself:
In order for the
<LoadMask /> component to be rendered as intended, this must be rendered inside an
HTML element, with a non-static position (
position is one of the following:
<LoadMask /> component has
height: 100% so it fills up all the available space inside its offsetParent.
The most important prop of the
boolean prop with the default value of
. If this is set to
will not be
(it will still be rendered, but will have
You can add a text or any valid
to the mask and it will be rendered below the spinner.