AllenFang/react-bootstrap-table

Add animations with react-flip-move

Open

#981 aberto em 22 de jan. de 2017

Ver no GitHub
 (5 comments) (0 reactions) (0 assignees)JavaScript (795 forks)batch import
help wanted

Métricas do repositório

Stars
 (2.240 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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?

Guia do colaborador