Methods
# inner LoadingSpinner(props) → {React.ReactElement}
LoadingSpinner is a component that displays a spinner with an optional message
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
props |
object
|
The props for the component | |
isActive |
boolean
|
<optional> |
Whether the spinner is active |
variant |
string
|
<optional> |
The variant of the spinner |
message |
string
|
<optional> |
The message to display |
zIndex |
number
|
<optional> |
Custom zIndex of the spinner - by default it is set to theme.zIndex.tooltip (1500) + 1 |
- React component
React.ReactElement
Example
<LoadingSpinner isActive={true} />