Create responsive data tables and accessible fixed tables
npm install @react-md/tableCreate simple tables or complex data tables and grids using the provided
low-level components.
``sh`
npm install --save @react-md/table
To get the most out of this package, it is also recommended to install:
`sh`
npm install --save @react-md/utils \
@react-md/states \
@react-md/typography
You should check out the
full documentation for live
examples and more customization information, but an example usage is shown
below.
`tsx
import { render } from "react-dom";
import {
TableContainer,
Table,
TableHeader,
TableBody,
TableRow,
TableCell,
} from "@react-md/table";
const App = () => (
{Array.from({ length: 10 }, (_, i) => (
}
}
}
))}
);
render(
``