Seed Bible extension API (v1.19.0) / seed-bible/components / LoadingStatus
Function: LoadingStatus()
function LoadingStatus(__namedParameters: LoadingStatusProps): Element;A spinner with the words that say what it is waiting for, marked as a status so assistive technology can pick it up. (Some screen readers only announce a status whose words change after it is on the page, so don't rely on it being read out as it appears.) For a line or a screen that has nothing to show until something arrives. Where the finished content has a known shape (a card, a list of rows), draw Skeleton blocks in a SkeletonContainer instead, and for a button that is working, give Button its loading prop.
A screen that needs it to look different sets the custom properties it exposes instead of overriding its rules: --sb-loading-status-color, --sb-loading-status-font-size and --sb-loading-status-padding.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | LoadingStatusProps |
Returns
Element