Skip to content

Commit

Permalink
Update docs/library/other/skeleton.md
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Brandého <thomas.brandeho@gmail.com>
  • Loading branch information
elviskahoro and Lendemor committed Aug 23, 2024
1 parent ed4633b commit 7d0dcaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/library/other/skeleton.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ rx.vstack(
),
```

When using `Skeleton` with text, wrap the text itself instead of the element instead of the parent element to have a placeholder of the same size.
When using `Skeleton` with text, wrap the text itself instead of the parent element to have a placeholder of the same size.

Use the loading prop to control whether the skeleton or its children are displayed. Skeleton preserves the dimensions of children when they are hidden and disables interactive elements.

0 comments on commit 7d0dcaf

Please sign in to comment.