# webstaurant-table

> WebstaurantTable is a lightweight table component styled with Tailwind.

Latest version **1.10.0** (published 2020-06-09) · ISC license · 0 weekly downloads

## Install

```sh
npm install webstaurant-table
pnpm add webstaurant-table
yarn add webstaurant-table
bun add webstaurant-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 | 1.10.0 |
| Published | 2020-06-09 |
| First published | 2020-06-04 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 346.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | jutz |
| Maintainers | jutz |

## Links

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

## Dependencies (2)

- [prop-types](https://npm.io/package/prop-types.md) ^15.7.2
- [@fullhuman/postcss-purgecss](https://npm.io/package/@fullhuman/postcss-purgecss.md) ^2.2.0

## Recent versions

- 1.10.0 (latest) — 2020-06-09
- 1.9.0 — 2020-06-09
- 1.8.0 — 2020-06-09
- 1.7.0 — 2020-06-05
- 1.6.0 — 2020-06-05
- 1.5.0 — 2020-06-05
- 1.3.0 — 2020-06-05
- 1.2.0 — 2020-06-05
- 1.1.0 — 2020-06-04

## README

# WebstaurantTable

WebstaurantTable is a lightweight table component styled with Tailwind. 

## Install

Use the package manager [npm](https://www.npmjs.com/) to install webstaurant-table.

```bash
npm install webstaurant-table
```

## Features

* Display structured rows of data associated with a group of defined columns. 


## Quickstart

```
import React from 'react
import { Table } from 'webstaurant-table'

const App = () => {

    const columns = [
      {
        title: 'Id',
        accessor: 'id',
      },
      {
        title: 'Name',
        accessor: 'name',
      }
    ]

    const data = [
      {
          id: '1',
          name: 'Waldo',
      },
      {
          id: '2',
          name: 'Jeremy'
      }
    ]

    return (
        <Table columns={columns} data={data} />
    )
}

```

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