react-fast-fixed
react fixed toolbar,scroll content element.
📦 Install
npm i react-fast-fixed --save
📄 Usage
var React = var ReactDOM = var Fixed = var App = ReactReactDOM
spaceStyle
<Fixed spaceStyle= // m-head space paddingTop: '20px' // m-statusBar sapce paddingTop: '20px' // m-nav space paddingBottom: '20px' > ... </Fixed>
🔨 development
npm i -g fis3 --registry=https://registry.npm.taobao.org# Install dependencies | 安装依赖 npm run dep # > Suggested Use `yarn` replace `npm run dep` | 建议使用 `yarn` 替代 `npm run dep` # npm i -g yarn # npm run yi # Server npm run s # Build npm run dev # 构建 gh-pages 版本 到 output/ npm run gh# 将 output/** 发布到 gh-pages 分支 npm run gh-push# 构建 npm 要发布的代码到 output/ npm run npm
Build based on fast-boot
For npm owner: npm publish Need to be in ./output