Loading
A loading message is a simple message that appears on the screen, informing the user that the app is performing an action in the background.
| Type | Resource | 
|---|---|
| Design | Figma | 
| Mobile | Mobile Storybook | 
| Code | Gitlab | 

Usage
import id.co.biofarma.binduiandroid.components.loading.LoadingLoading(
    id = "loading",
    type = "spinner",
    size = "md",
)Examples
Type (optional)
Use type to select a loading spinner, loading dot or loading horizontal.

Size (optional)
Use size xs, sm, md, lg or xl to determine the size of the loading.

Mode (optional)
Use mode to use dark or light.

Props
| Props | Required | Default | Type | description | 
|---|---|---|---|---|
| id | false | - | string | A unique identifier for the loading. | 
| type | false | spinner | spinner , dot , horizontal | The type variant of the loading (spinner, dot , horizontal). | 
| size | false | md | xs, sm, md, lg, xl | The size of loading component (xs, sm, md, lg, xl). | 
| style | false | - | Modifier | Custom styles for the loading component. |