zim-datatable
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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;

Package Sidebar

Install

npm i zim-datatable

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

2.45 kB

Total Files

2

Last publish

Collaborators

  • stoff_sebi