mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 21:59:41 +08:00
7e9fe271ed
* support align * update demo & snapshot * update comment * update docs * Update components/space/index.en-US.md Co-Authored-By: 骗你是小猫咪 <darryshaw@gmail.com> * update doc Co-authored-by: 骗你是小猫咪 <darryshaw@gmail.com>
21 lines
508 B
Markdown
21 lines
508 B
Markdown
---
|
|
category: Components
|
|
type: Layout
|
|
title: Space
|
|
cols: 1
|
|
---
|
|
|
|
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 |
|