react-table/docs/installation.md
2019-09-06 10:59:47 -06:00

553 B

Installation

Install the React Table v7 Alpha as a dependency using npm or yarn

# NPM
$ npm install react-table@next

# Yarn
$ yarn add react-table@next

NOTE: @next is only required temporarily while work on the alpha and beta versions are still shifting.

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