ant-design/components/spin/index.en-US.md

22 lines
737 B
Markdown
Raw Normal View History

---
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 |