Set components spacing.
antd@4.24.0
Supported).Common props ref:Common props
'small' | 'middle' | 'large' | number
Use Space.Compact when child form components are compactly connected and the border is collapsed. The supported components are:
Property | Description | Type | Default | Version |
---|---|---|---|---|
block | Option to fit width to its parent's width | boolean | false | 4.24.0 |
direction | Set direction of layout | vertical | horizontal | horizontal | 4.24.0 |
size | Set child component size | large | middle | small | middle | 4.24.0 |
styles
and classNames
attributeProperty | Description | Version |
---|---|---|
item | set Space child element | 5.6.0 |
Card content
Card content
Card content
Card content
Card content
Card content