How to disable and hide the pagination footer for react-table?

user3547219 picture user3547219 · May 9, 2019 · Viewed 8.2k times · Source

I'm new to react-table. Currently I have a 5 rows table to render on react-table, and I don't need the pagination function. I understand to turn pagination off, it can be done by "pagination={false}". However the pagination control still showing, is there a way to hide it?

Answer

simPod picture simPod · May 27, 2019

I just found prop showPagination={false}. Try that.

https://github.com/tannerlinsley/react-table/tree/v6#props