ChartLoader
import { ChartLoader } from "@surfaces-ui/components";
A small chart that draws itself and keeps moving, the same one for as long as the wait lasts: one of fifteen. Decoration beside words that say what is waited for, so it is hidden from assistive technology; use Loading or WorkingLine for the two together.
Props
| Prop | Type | Required | What it is |
|---|---|---|---|
chart | "stacked" \ | "scatter" \ | "gantt" \ |
seed | string | Picks the chart: the same words always pick the same one. | |
size | number | Its width, in px (or any CSS length). Defaults to 2.5rem. |
Example
<ChartLoader chart="sankey" size={160} />