SkeletonText
Display placeholder lines while text content is loading.
SkeletonText displays placeholder lines while text loads.
Import
import { SkeletonText } from "@solarius/onset";Props
| Prop | Type | Default | Description |
|---|---|---|---|
lines | number | 3 | Number of skeleton lines. |
lastWidth | CSSProperties['width'] | "55%" | Width of the final (shortest) line. |
animation | SkeletonAnimation | — | Animation for every line. |