@hi-ui/space
TypeScript icon, indicating that this package has built-in type declarations

4.0.11 • Public • Published

Space 间距

设置组件之间的间距,支持排列方式、对齐、间距数值、以及 childItem 中插入信息

Usage

Props

参数 说明 类型 可选值 默认值
inline 是否 inline-flex boolean true | false true
align 对齐方式 string flex-start | flex-end | center | baseline center
direction 间距大小 - row | column row
size 间距方向 string Size sm
split 设置拆分内容 - React.ReactNode -
wrap 是否自动换行,仅在 row 时有效 - boolean false

Size

sm | md | lg | number | number[]

Readme

Keywords

none

Package Sidebar

Install

npm i @hi-ui/space

Weekly Downloads

28

Version

4.0.11

License

MIT

Unpacked Size

16.1 kB

Total Files

15

Last publish

Collaborators

  • sivan
  • solarjoker