DataTable
component exposes a bodyRef
property that can be used to pass a ref to the underlying table tbody
element. This ref can be passed to the useAutoAnimate()
hook from the excellent AutoAnimate library to animate table rows when they are added, removed or reordered.