mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-30 06:09:34 +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>
581 B
581 B
category | type | title | cols | cover |
---|---|---|---|---|
Components | Layout | Space | 1 | https://gw.alipayobjects.com/zos/antfincdn/wc6%263gJ0Y8/Space.svg |
Set components spacing.
When To Use
Avoid components clinging together and set a unified space.
API
Property | Description | Type | Default | Version |
---|---|---|---|---|
align | align items | start | end |center |baseline |
- | 4.2.0 |
direction | space direction | vertical | horizontal |
horizontal |
4.1.0 |
size | space size | small | middle | large | number |
small |
4.1.0 |