mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-01 23:29:30 +08:00
b8109bd20e
* feat: new component: Space * add config-provider space doc * fix lint fail * revert test -u * improve demo * compatible invalidElement * use inline-flex and wrap * review change * add space version * improve classname * review change * review change
429 B
429 B
category | type | title | cols |
---|---|---|---|
Components | Layout | Space | 1 |
Set components spacing.
When To Use
Avoid components clinging together and set a unified space.
API
Property | Description | Type | Default | Version |
---|---|---|---|---|
size | space size | small | middle | large | number |
small |
4.1.0 |
direction | space direction | vertical | horizontal |
horizontal |
4.1.0 |