Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.03 KB

README.md

File metadata and controls

48 lines (37 loc) · 1.03 KB

build status bitHound Score codecov

reactabular-material-ui - Reactabular wrapper for material-ui

TODO

Example

/*
import * as Table from 'reactabular-table';
import components from 'reactabular-material-ui';
*/

const rows = [
  {
    id: 100,
    name: 'John'
  },
  {
    id: 101,
    name: 'Jack'
  }
];

const columns = [
  {
    property: 'name',
    header: {
      label: 'Name'
    }
  }
];

<Table.Provider
  columns={columns}
  components={components}
>
  <Table.Header />

  <Table.Body rows={rows} rowKey="id" />
</Table.Provider>

License

MIT. See LICENSE for details.