-
-
Notifications
You must be signed in to change notification settings - Fork 535
Expand file tree
/
Copy pathTS.tsx
More file actions
23 lines (20 loc) · 484 Bytes
/
Copy pathTS.tsx
File metadata and controls
23 lines (20 loc) · 484 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import {
MaterialReactTable,
useMaterialReactTable,
} from '@glebcha/material-react-table';
import { columns, data } from './makeData';
const Example = () => {
const table = useMaterialReactTable({
columns,
data,
muiPaginationProps: {
color: 'primary',
shape: 'rounded',
showRowsPerPage: false,
variant: 'outlined',
},
paginationDisplayMode: 'pages',
});
return <MaterialReactTable table={table} />;
};
export default Example;