mirror of
https://github.com/gosticks/react-table.git
synced 2025-10-16 11:55:36 +00:00
28 lines
422 B
Markdown
28 lines
422 B
Markdown
# Installation
|
|
|
|
Install React Table as a dependency using `npm` or `yarn`
|
|
|
|
```bash
|
|
# NPM
|
|
$ npm install react-table
|
|
|
|
# Yarn
|
|
$ yarn add react-table
|
|
```
|
|
|
|
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
|