This repository has been archived by the owner on Nov 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
DanilAndreev edited this page Jul 28, 2020
·
27 revisions
mui-table-flexible - table processor, designed to create tables with resize handlers for big amount of data.
Install MuiTableFlexible's source files via npm or yarn.
npm install @danilandreev/mui-table-flexible
or
yarn add @danilandreev/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'}>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>
);
}
- Demos
- Component API
- Demos
- Component API