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

30 lines
553 B
Markdown

# Installation
Install the React Table v7 Alpha as a dependency using `npm` or `yarn`
```bash
# 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:
```js
import {
useTable,
useGroupBy,
useFilters,
useSortBy,
useExpanded,
usePagination,
...
} from 'react-table'
```
Once you've installed React Table, continue to [Concepts](./concepts.md) to read more about how to utilize its API