# @rolltrax/bs-react-table

> React Table for Reason

Latest version **2.0.0** (published 2019-07-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install @rolltrax/bs-react-table
pnpm add @rolltrax/bs-react-table
yarn add @rolltrax/bs-react-table
bun add @rolltrax/bs-react-table
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2019-07-16 |
| First published | 2018-10-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 277.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Zach Baylin |
| Maintainers | ohadrau, zbaylin |
| Keywords | BuckleScript, table, react-table, react-component, react |

## Links

- npm: https://www.npmjs.com/package/@rolltrax/bs-react-table
- Repository: https://github.com/Rolltrax/bs-react-table
- Homepage: https://github.com/Rolltrax/bs-react-table#readme
- Issues: https://github.com/Rolltrax/bs-react-table/issues
- npm.io page: https://npm.io/package/@rolltrax/bs-react-table

## Dependencies (3)

- [react](https://npm.io/package/react.md) ^16.5.2
- [react-table](https://npm.io/package/react-table.md) ^6.8.6
- [reason-react](https://npm.io/package/reason-react.md) ^0.7.0

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 2.0.0 (latest) — 2019-07-16
- 0.1.11 — 2018-10-05
- 0.1.10 — 2018-10-05
- 0.1.9 — 2018-10-05
- 0.1.8 — 2018-10-05
- 0.1.7 — 2018-10-05
- 0.1.6 — 2018-10-04
- 0.1.5 — 2018-10-04

## README

# bs-react-table

Bucklescript/Reason bindings for [react-table](https://github.com/react-tools/react-table)

## Info

🚧 This is a WIP library. Most of the basic features are implemented, but some are still left not working. If you would like to help with the development effort, feel free to submit a pull request 🚧

This library provides Bucklescript bindings for [react-table](https://github.com/react-tools/react-table)


## Installation

```bash
npm install --save bs-react-table
```

Then add it to your `bs-dependencies` in your `bsconfig.json`:

```json
{
  ...
  "bs-dev-dependencies": ["bs-react-table"]
}
```

And then add this to your header in your html template :

```html
<link rel="stylesheet" href="https://unpkg.com/react-table@latest/react-table.css">
```

## Usage

Usage is very similar to the original package

```reason
let columns = [|
  {"Header": "Name", "accessor": "name"},
  {"Header": "Age", "accessor": "age"},
|];

let data = [|
  {"name": "thomas", "age": "25"},
  {"name": "aude", "age": "23"},
  {"name": "damien", "age": "32"},
|];

let make = _children => {
  ...component,
  render: self => <ReactTable.ReactTable columns data label=(Some("test")) />,
};
```

---
_Source: https://npm.io/package/@rolltrax/bs-react-table · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
