mirror of
https://github.com/adoyle0/thaw.git
synced 2025-01-23 14:29:22 -05:00
1e4832a6d0
* demo: refactor docs * demo: refactor docs * demo: refactor docs * demo: refactor docs
27 lines
744 B
Markdown
27 lines
744 B
Markdown
# Spinner
|
|
|
|
```rust demo
|
|
view! {
|
|
<Spinner/>
|
|
}
|
|
```
|
|
|
|
### Size
|
|
|
|
```rust demo
|
|
view! {
|
|
<Space>
|
|
<Spinner size=SpinnerSize::Tiny/>
|
|
<Spinner size=SpinnerSize::Small/>
|
|
<Spinner size=SpinnerSize::Medium/>
|
|
<Spinner size=SpinnerSize::Large/>
|
|
</Space>
|
|
}
|
|
```
|
|
|
|
### Spinner Props
|
|
|
|
| Name | Type | Default | Description |
|
|
| ----- | -------------------------- | --------------------- | ------------------------------------------- |
|
|
| class | `MaybeSignal<String>` | `Default::default()` | Additional classes for the spinner element. |
|
|
| size | `MaybeSignal<SpinnerSize>` | `SpinnerSize::Medium` | Spinner size. |
|