spreadsheet like table component for react
npm install react-table-editorforked from https://github.com/appleple/a-table.js
``ts
import * as React from 'react';
import { TableEditor } from 'react-table-editor'
import { render } from 'react-dom'
const html =
| test | test | test |
|---|---|---|
| test | test | test |
| test | test | test |
const btns = [
{
tag: 'strong',
className: 'hoge',
icon: ボタン
},
{
tag: 'a',
className: 'test',
icon: リンク
}
]
render( html={html}
btns={btns}
onChange={html => console.log(html)}
/>, document.getElementById('main'));
``This repository was made thanks to Karakuri!!
https://karakuri.ai/