AllenFang/react-bootstrap-table

Add animations with react-flip-move

Open

#981 建立於 2017年1月22日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)JavaScript (795 fork)batch import
help wanted

倉庫指標

Star
 (2,240 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

I use react-flip-move as a drop in replacement for my tables to create easy animations. It's easy enough to modify existing code that already builds tables in react by replacing the element with

<table>
  <FlipMove typeName='tbody'>
    {this.renderRows()}
  </FlipMove>
</table>

I believe the easiest to add this functionality would be the ability to pass in a wrapper object that react-bootstrap-table would use to replace the tbody element that react-bootstrap-table creates, but the API doesn't currently allow this.

Does this approach seem correct?

貢獻者指南