Skip to content
This repository has been archived by the owner on Mar 9, 2021. It is now read-only.

superdispatch/itable

Repository files navigation

iTable

React table that exposing fundamental APIs of HTML table

Demo

Simple table example:

Edit r527vnyrxo

Usage

Import any @itable/* package with corresponding UIKit library and use same APIs.

import {
  TableBody,
  TableData,
  TableHead,
  TableHeader,
  TableRow,
  Table
} from "@itable/material-ui";

<Table data={data}>
  <TableHead>
    <TableHeader>ID</TableHeader>
    <TableHeader>Name</TableHeader>
  </TableHead>
  <TableBody>
    {item => (
      <TableRow>
        <TableData>{item.id}</TableData>
        <TableData>{item.name}</TableData>
      </TableRow>
    )}
  </TableBody>
</Table>