SimpleListLoading
Skeleton rows for a pending <SimpleList>. It renders nothing for the first second, so a fast response never flashes a skeleton.
Installation
pnpm dlx shadcn@latest add @chelone/simple-list-loadingSkeleton rows for a pending <SimpleList>. It renders nothing for the first second, so a fast response never flashes a skeleton.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| hasLeftAvatarOrIcon | boolean | — | |
| hasRightAvatarOrIcon | boolean | — | |
| hasSecondaryText | boolean | — | |
| hasTertiaryText | boolean | — | |
| nbFakeLines | number | — | Number of placeholder rows. Default 5. |