thaw/demo_markdown/docs/spinner/mod.md

28 lines
780 B
Markdown
Raw Normal View History

# 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
2024-02-09 22:44:22 +08:00
| Name | Type | Default | Description |
| ----- | ----------------------------------- | --------------------- | ------------------------------------------- |
| class | `OptionalProp<MaybeSignal<String>>` | `Default::default()` | Additional classes for the spinner element. |
| size | `MaybeSignal<SpinnerSize>` | `SpinnerSize::Medium` | Spinner size. |