0

I am trying to use the same functionalities but with different layouts and positioning. For example, instead of having those default next and previous buttons I would like to create my own. How do I do that without changing the code directly on node_modules?

Jeff Goes
  • 571
  • 3
  • 7
  • 17

1 Answers1

0

There are 2 things you can do:

1.) You can fork the github repo of the react-table library, apply changes in the fork, and install the fork as a dependency in your package.json (npm install and build of forked github repo). (recommended)

2.) Override the css classnames of react-table buttons in a css file, and apply your own styling (not recommended).

Jordan Daniels
  • 4,896
  • 1
  • 19
  • 29