mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
882cec62d6
* docs: Add components overview page * fix detail * remove ContributorsList form overview page * fix components url * improve code style * remove extra file * fix detail * fix lint * fix lint * docs: Finish components overview page * fix lint * docs: Update cover * fix lint * update cover * update menu * improve overview page * refactor code * fix order * update title * add components count * fix overview page ssr bug * move less file * update title margin Co-authored-by: arvinxx <arvinx@foxmail.com>
755 B
755 B
category | type | subtitle | title | cols | cover |
---|---|---|---|---|---|
Components | 布局 | 间距 | Space | 1 | https://gw.alipayobjects.com/zos/antfincdn/wc6%263gJ0Y8/Space.svg |
设置组件之间的间距。
何时使用
避免组件紧贴在一起,拉开统一的空间。
API
参数 | 说明 | 类型 | 默认值 | 版本 |
---|---|---|---|---|
align | 对齐方式 | start | end |center |baseline |
- | 4.2.0 |
direction | 间距方向 | vertical | horizontal |
horizontal |
4.1.0 |
size | 间距大小 | small | middle | large | number |
small |
4.1.0 |