import { Layout, Playground, Attributes } from 'lib/components' import { Loading, Spacer, Row } from 'components' export const meta = { title: 'Loading', description: 'Loading', } ## Loading Indicate an action running in the background. `} /> Loading `} /> `} /> `} /> 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', ...` | - | export default ({ children }) => {children}