Indicate an action running in the background.
Customize text next to icon.
Components of different sizes.
Loading indicators in different states.
Loading.Props
Attribute | Description | Type | Accepted values | Default |
---|---|---|---|---|
type | bg-color type | NormalTypes | 'default', 'secondary', 'success', 'warning', 'error' | default |
size | loading size | NormalSizes | 'mini', 'small', 'medium', 'large' | medium |
color | custom bg color | string | - | - |
width | custom width | string | - | 100% |
height | custom height | string | - | 100% |
... | native props | HTMLAttributes | 'id', 'title', 'className', ... | - |