mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 21:18:01 +08:00
2eec689d74
* feat: Space add split * Update index.en-US.md * changed * improve * improve * Update demo.test.js.snap * Update vertical-split.md * Update demo.test.js.snap * remove vertical-split * Update demo.test.js.snap
635 B
635 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 | The space direction | vertical | horizontal |
horizontal |
4.1.0 |
size | The space size | small | middle | large | number |
small |
4.1.0 |
split | Set split | ReactNode | - | 4.7.0 |