mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
22 lines
737 B
Markdown
22 lines
737 B
Markdown
|
---
|
||
|
category: Components
|
||
|
type: Other
|
||
|
title: Spin
|
||
|
---
|
||
|
|
||
|
A Spin is used for displaying loading state of a page or a block.
|
||
|
|
||
|
## When to use
|
||
|
|
||
|
When partial of page is waiting for asynchronous data or during a rendering process, an appropriate loading animation can effectively alleviate users' inquietude.
|
||
|
|
||
|
|
||
|
## API
|
||
|
|
||
|
|
||
|
| Property | Type | Default | Description |
|
||
|
|------------|----------------|-------------|--------------|
|
||
|
| size | enum | default | Zize of dot in spin component, avaliable in `small`, `default` and `large`. |
|
||
|
| spinning | boolean | true | Use in embedded mode, to modify loading state. |
|
||
|
| tip | string | None | Customize decription content |
|