1.0.1 • Published 6 years ago

mui3-data-table v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

mui-data-table

Dynamic tables for ReactJS.

NPM JavaScript Style Guide Build Status

Install

npm install --save mui3-data-table

Usage

import React, { Component } from "react";

import DataTable from "mui-data-table";

class Example extends Component {
  render() {
    const columns = ["Year", "Make", "Model"];

    const data = [
      { Year: 1967, Make: "Pontiac", Model: "Firebird" },
      { Year: 1965, Make: "Pontiac", Model: "GTO" },
      { Year: 1970, Make: "Plymouth", Model: "Barracuda" }
    ];

    return <DataTable columns={columns} data={data} />;
  }
}

License

MIT © Jeremy Plack