mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-12 11:55:23 +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 | Size of dot in spin component, available in `small`, `default` and `large`. |
|
|
| spinning | boolean | true | Use in embedded mode, to modify loading state. |
|
|
| tip | string | None | Customize description content |
|