You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
837 B
26 lines
837 B
---
|
|
category: Components
|
|
type: 布局
|
|
subtitle: 间距
|
|
title: Space
|
|
cols: 1
|
|
cover: https://gw.alipayobjects.com/zos/antfincdn/wc6%263gJ0Y8/Space.svg
|
|
---
|
|
|
|
设置组件之间的间距。
|
|
|
|
## 何时使用
|
|
|
|
避免组件紧贴在一起,拉开统一的空间。
|
|
|
|
- 适合行内元素的水平间距。
|
|
- 可以设置各种水平对齐方式。
|
|
|
|
## API
|
|
|
|
| 参数 | 说明 | 类型 | 默认值 | 版本 |
|
|
| --------- | -------- | ------------------------------------------ | ------------ | ----- |
|
|
| align | 对齐方式 | `start` \| `end` \|`center` \|`baseline` | - | 1.6.5 |
|
|
| direction | 间距方向 | `vertical` \| `horizontal` | `horizontal` | 1.6.5 |
|
|
| size | 间距大小 | `small` \| `middle` \| `large` \| `number` | `small` | 1.6.5 |
|