mui-table-flexible - table processor, designed to create tables with resize handlers for big amount of data.
Using npm:
npm install mui-table-flexible
Using yarn:
yarn add mui-table-flexible
import React from "react";
import {
FlexibleTable,
FlexibleTableCell,
FlexibleTableRow
} from "@danilandreev/mui-table-flexible";
export default function FlexibleTableExample() {
const columns = [
<FlexibleTableCell name={'hello'} key={'table-col-hello'}>Hello</FlexibleTableCell>,
// ...
];
return (
<FlexibleTable
columns={columns}
>
<FlexibleTableRow>
<FlexibleTableCell name={'hello'}>I've</FlexibleTableCell>
{/*...*/}
</FlexibleTableRow>
<FlexibleTableRow>
<FlexibleTableCell name={'hello'}>Because</FlexibleTableCell>
{/*...*/}
</FlexibleTableRow>
<FlexibleTableRow>
<FlexibleTableCell name={'hello'}>Left</FlexibleTableCell>
{/*...*/}
</FlexibleTableRow>
</FlexibleTable>
);
}
You can find example project in this repository.
Also, you can find more info in wiki.
Danil Andreev | danssg08@gmail.com | https://github.com/DanilAndreev