zim-datatable
v0.1.1
Published
Collaborative abstraction for a unified react table component. Tries to abstract away the need for a concrete dependency.
Downloads
2
Maintainers
Readme
ZIM Datatable
Short Description
Collaborative abstraction for a unified react table component. Tries to abstract away the need for a concrete dependency.
- based on Material Table
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;