# table_library_by_alex

> Table library by Alex Morhun

Latest version **1.0.2** (published 2021-03-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install table_library_by_alex
pnpm add table_library_by_alex
yarn add table_library_by_alex
bun add table_library_by_alex
```

## 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 | 1.0.2 |
| Published | 2021-03-09 |
| First published | 2021-03-09 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 48.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Aleksey Morhun |
| Maintainers | alex_morhun |

## Links

- npm: https://www.npmjs.com/package/table_library_by_alex
- npm.io page: https://npm.io/package/table_library_by_alex

## Recent versions

- 1.0.2 (latest) — 2021-03-09
- 1.0.1 — 2021-03-09
- 1.0.0 — 2021-03-09

## README

<h2>
    Table library by Alex Morhun
</h2>

## Usage

First simple variant
```shell
    const data = [
        ['cell1', 'cell2', 'cell3', 'cell4'],
        ['cell1', 'cell2', 'cell3', 'cell4'],
        ['cell1', 'cell2', 'cell3', 'cell4'],
        ['cell1', 'cell2', 'cell3', 'cell4'],
    ];
    <Table 
        data={data} 
        onAdd={fn} 
        onRemove={fn} 
        onEdit={fn}
    />
```
Second custom table variant
```shell
    const data = {
        header: [
            { title: "title1" },
            { title: "title2" },
        ],
        rows: [
            [
                { value: "Test" },
                { value: 1 },
                { value: "test data" },
                { value: 20000000 },
                { value: "more test data text for example" }
            ]
        ]
    };
    <Table 
        data={data} 
        onAdd={fn} 
        onRemove={fn} 
        onEdit={fn}
    />
    fn(table) {
        //a new table will be returned in the parameter, 
        //on each event 
    }
```
## Install

With [npm](https://npmjs.org/) installed, run

```shell
npm install --save table_library_by_alex@1.0.2

or

yarn add table-library-by-Alex-Morhun
```

## License

ISC

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