Install React Table as a dependency using npm
or yarn
# NPM
$ npm install react-table
# Yarn
$ yarn add react-table
To import React Table:
import {
useTable,
useGroupBy,
useFilters,
useSortBy,
useExpanded,
usePagination,
...
} from 'react-table'
Once you've installed React Table, continue to Concepts to read more about how to utilize its API