0.1.1 • Published 3 years ago

zim-datatable v0.1.1

Weekly downloads
7
License
MIT
Repository
-
Last release
3 years ago

ZIM Datatable

Short Description

Collaborative abstraction for a unified react table component. Tries to abstract away the need for a concrete dependency.

Demos and examples

  • see demo folder in src (via "npm start" launch dev setup from create-react-app)

Quickstart

import React from "react";
import { ZIMDataTable } from "zim-datatable";
import testData from "./data/table";

const TableDemo: React.FC = () => {
  return (
    <ZIMDataTable.Comp
      title="Demo Table"
      columns={[
        { title: "First Col", field: "name" },
        { title: "Second Col", field: "surname" },
      ]}
      data={testData.names}
    />
  );
};

export default TableDemo;