@ruiyun/react-layout-web
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

react-layout-web

遍历children插入占位空div的方案有缺陷,就是在遍历时你是不知道这个child最终是不是返回了null,如果是null,你插入的占位div就多余了。这个问题无解。

css 变量加margin的方式,性能最好,但是只能web用并且影响子元素的margin

Usage

const reactText = require('react-layout-web');

// TODO: DEMONSTRATE API

Readme

Keywords

Package Sidebar

Install

npm i @ruiyun/react-layout-web

Weekly Downloads

10

Version

2.0.0

License

ISC

Unpacked Size

16.9 kB

Total Files

7

Last publish

Collaborators

  • wen911119