Components
Spinner
Option for your additional loading indicator
Component Status Details
Status component contains a list of checks and completeness that has been tested and owned by each component
Spinner is a component to indicate a loading state or progress state of a page or section.

Usage
The following is code to implement spinner component.
Primary
LgnSpinner(variant = LgnSpinnerVariant.PRIMARY)
Secondary
LgnSpinner(variant = LgnSpinnerVariant.SECONDARY)
Error
LgnSpinner(variant = LgnSpinnerVariant.ERROR)
White
LgnSpinner(variant = LgnSpinnerVariant.WHITE)
Attributes
Parameters | Type | Description |
---|---|---|
height | dp | Set size of Spinner by Height |
variant | LgnSpinnerVariant | The variant of the spinner. Default value is LgnSpinnerVariant.PRIMARY |
width | dp | Set size of Spinner by Width |