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 indicates a loading state or progress state of a page or section. Spinner extends react native original ActivityIndicator.
Usage
import { Spinner } from "@legion-crossplatform/ui";const Spinner = () => {return (<Spinner />)}
Android

iOS

Color
import { Spinner } from "@legion-crossplatform/ui";const Spinner = () => {return (<Spinner size="large" color="#000000" />)}
Props
Parameters | Type | Description |
---|---|---|
color | string | Set color of Spinner |
size | small | large | Set size of Spinner |