# Space 间距 V2.2.18

# 代码演示

# API

# Attributes

Name Description Type Default
alignment 对齐的方式 center /normal / stretch / ... center
direction 排列的方向 vertical / horizontal horizontal
prefix-cls 给 space-items 的类名前缀 string
spacer 间隔符 string / number
size 间隔大小 medium / mini / small / large / number / array [number, number] medium
wrap 设置是否自动折行 boolean false
fill 子元素是否填充父容器 boolean false
fill-ratio 填充父容器的比例 number 100

# Slots

name description
spacer 需要添加间隔的元素
上次更新: 3/12/2025, 10:44:23 AM