# @react-page-plugins/slate-table

> react-page plugin for slate table

Latest version **0.1.0-alpha.12** (published 2022-11-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @react-page-plugins/slate-table
pnpm add @react-page-plugins/slate-table
yarn add @react-page-plugins/slate-table
bun add @react-page-plugins/slate-table
```

## Health

**Score 35/100 (D)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.0-alpha.12 |
| Published | 2022-11-15 |
| First published | 2021-03-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 7 |
| Unpacked size | 1.2 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Junmin Ahn |
| Maintainers | junminahn |
| Keywords | react-page, plugin, slate, table |

## Links

- npm: https://www.npmjs.com/package/@react-page-plugins/slate-table
- Repository: https://github.com/junminahn/react-page-plugins
- Homepage: https://github.com/junminahn/react-page-plugins#readme
- Issues: https://github.com/junminahn/react-page-plugins/issues
- npm.io page: https://npm.io/package/@react-page-plugins/slate-table

## Dependencies (7)

- [clsx](https://npm.io/package/clsx.md) ^1.1.1
- [slate](https://npm.io/package/slate.md) ^0.59.0
- [lodash](https://npm.io/package/lodash.md) ^4.17.21
- [rc-slider](https://npm.io/package/rc-slider.md) ^9.7.1
- [slate-react](https://npm.io/package/slate-react.md) ^0.59.0
- [slate-history](https://npm.io/package/slate-history.md) ^0.59.0
- [styled-components](https://npm.io/package/styled-components.md) ^5.2.1

## 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

- 0.1.0-alpha.12 (latest) — 2022-11-15
- 0.1.0-alpha.11 — 2022-08-03
- 0.1.0-alpha.10 — 2021-05-12
- 0.1.0-alpha.9 — 2021-03-22
- 0.1.0-alpha.8 — 2021-03-22
- 0.1.0-alpha.7 — 2021-03-21
- 0.1.0-alpha.6 — 2021-03-20
- 0.1.0-alpha.5 — 2021-03-20
- 0.1.0-alpha.4 — 2021-03-20

## README

# @react-page-plugins/slate-table

[ReactPage](https://github.com/react-page/react-page) plugin for slate table

## Installation

```sh
$ npm install @react-page-plugins/slate-table
```

```sh
$ yarn add @react-page-plugins/slate-table
```

## Usage

```js
import React, { useState } from 'react';
import Editor, { ValueWithLegacy } from '@react-page/editor';
import table from '@react-page-plugins/slate-table';

import '@react-page/editor/lib/index.css';
import '@react-page-plugins/slate-table/lib/index.css';
import 'rc-slider/assets/index.css';

const cellPlugins = [table()];

export default function ExamplePage() {
  const [value, setValue] = useState<ValueWithLegacy>({} as ValueWithLegacy);

  const handleChange = (val: any) => {
    setValue(val);
  };

  return (
    <Editor cellPlugins={cellPlugins} value={value} onChange={handleChange} />
  );
}
```

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