mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-24 06:49:21 -05:00
18 lines
571 B
Markdown
18 lines
571 B
Markdown
|
# Skeleton
|
||
|
|
||
|
```rust demo
|
||
|
view! {
|
||
|
<Skeleton repeat=2 text=true/>
|
||
|
<Skeleton width="60%" text=true/>
|
||
|
}
|
||
|
```
|
||
|
|
||
|
### Skeleton Props
|
||
|
|
||
|
| Name | Type | Default | Description |
|
||
|
| ------ | ----------------------------- | ------- | ----------------- |
|
||
|
| repeat | `MaybeSignal<u32>` | `1` | Repeat frequency. |
|
||
|
| text | `MaybeSignal<bool>` | `false` | Text skeleton. |
|
||
|
| width | `Option<MaybeSignal<String>>` | `None` | Skeleton width. |
|
||
|
| height | `Option<MaybeSignal<String>>` | `None` | Skeleton height. |
|