Loading
An animated visual loading state indicator.
Usage
import { Loading } from "@lemonsqueezy/wedges";<Loading />API Reference
| Prop | Value | Default |
|---|---|---|
color | "primary" | "secondary" | primary |
size | Enum | md |
type | "line" | "spinner" | "dots" | "line" |
Examples
The following example shows different type and size props.
Change the color using the color prop, or set a custom text color with a className.