@riil-frontend/component-footer-layout

1.0.8 • Public • Published

底部栏布局组件

footer-layout

底部栏布局组件 组件 children 为容器内容,footer 部分内容由 footer 属性以数组形式传入。 组件支持在 footer 中放置不同大小的组件,组件会根据总高度以及 footer 区高度,自动计算出内容区高度。

API

参数名 说明 必填 类型 默认值 备注
footer 贴底内容 - [ReactNode]
align 对齐方式 - string 'left'/'center'/'right' 'center'
boxProps 底部组件 Box 属性透传.可自定义 footer 内容间距,对齐等 - object {align: 'center',spacing: 8,direction: 'row'}

Readme

Keywords

Package Sidebar

Install

npm i @riil-frontend/component-footer-layout

Weekly Downloads

5

Version

1.0.8

License

MIT

Unpacked Size

552 kB

Total Files

14

Last publish

Collaborators

  • riil-frontend