0.1.1 • Published 7 years ago

uxcore-footer-toolbar v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

uxcore-footer-toolbar

React footer toolbar

NPM version build status Test Coverage Dependency Status devDependency Status NPM downloads

Sauce Test Status

Development

git clone https://github.com/uxcore/uxcore-footer-toolbar
cd uxcore-footer-toolbar
npm install
npm run server

if you'd like to save your install time,you can use uxcore-tools globally.

npm install uxcore-tools -g
git clone https://github.com/uxcore/uxcore-footer-toolbar
cd uxcore-footer-toolbar
npm install
npm run dep
npm run start

Test Case

npm run test

Coverage

npm run coverage

Demo

http://uxcore.github.io/components/footer-toolbar

Contribute

Yes please! See the CONTRIBUTING for details.

API

Props

参数说明类型默认值
contentWidthchildren 和 extra 所能占到的最大宽度Number-
children工具栏内容,存在 extra 时向右对齐,否则居中ReactNode-
extra额外的提示信息,向左对齐ReactNode-
containerWidth指定组件 wrapper 层的宽度Number-
autoWidth不指定 containerWidth 时,是否按照参考元素的宽度自动计算 containerWidth,适用于有侧导航的情况Boolfalse
getRefContainerautoWidth 生效时,以哪个节点作为参考元素,默认为组件的父元素-