# Loading
Loading, divided into two types: circular and spinner
# load type
<press-loading />
<press-loading type="spinner" />
# Custom Colors
<press-loading color="#1989fa" />
<press-loading type="spinner" color="#1989fa" />
# Custom size
<press-loading size="15" />
<press-loading type="spinner" size="38" />
# Load copy
<press-loading size="24px">Loading...</press-loading>
# vertical alignment
<press-loading size="24px" vertical>Loading...</press-loading>
# API
# Props
| Parameter | Description | Type | Default |
|---|---|---|---|
| color | color | string | #c9c9c9 |
| type | type, optional value is spinner | string | circular |
| size | Load icon size, the default unit is px | string | number | 30px |
| text-size | text size, the default unit is px | string | number | 14px |
| vertical | Whether to arrange icons and text content vertically | boolean | false |
# Slots
| Name | Description |
|---|---|
| - | Load copy |