ant-design/components/space/index.en-US.md
偏右 882cec62d6
docs: 🌈 Add Components overview page (#24491)
* 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>
2020-05-31 11:48:34 +08:00

22 lines
581 B
Markdown

---
category: Components
type: Layout
title: Space
cols: 1
cover: 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 |