Y2X

Results 4 comments of Y2X

``` { "libraryName": "@ant-design", "libraryDirectory": "icons", "camel2DashComponentName": false, // default: true } ``` 应该是需要加 `camel2DashComponentName` 这个参数才会按大驼峰找文件,否则会默认走短横线 而且 library 和文件夹名称也不一样了

[demo](http://js.jirengu.com/ruvexuvogi/2/edit?html,css,output) 算到头秃 也可以用`inset`做一个带 border-radius 的框体 + `polygan()`三角形,但是那样就不得不用伪元素了 ``` 替换素材让视频与众不同 ``` ``` :root { --sin15: 0.2588; --sin30: 0.5; --sin45: 0.7071; --sin60: 0.866; --sin75: 0.9659; --outer: 6px; /* 小三角形的高度 */ --inner: 10px;...

```javascript let arr = [1, 'a', 123, '巴啦啦', 3, 'hi~', 66, 'anyString']; const obj = {}; for(let i = 0, len = arr.length; i < len; i +=2 ){ obj[arr[i]]...

Similar problem here, and when my data updated, row height which should also change doesn't update. Solve this by ``` componentDidUpdate() { if (this.list) { this._cache.clearAll(); // re-calculate cache &...