mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 13:08:41 +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>
22 lines
581 B
Markdown
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 |
|