clear structure of datatable directories

This commit is contained in:
2024-04-29 16:35:27 +03:30
parent 886a5a88a2
commit 0445fc8331
18 changed files with 321 additions and 585 deletions

View File

@@ -1,4 +1,4 @@
import { useMaterialReactTable } from "material-react-table";
import {useMaterialReactTable} from "material-react-table";
import DataTable_Paper from "./table/Paper";
const isTableInstanceProp = (props) => props.table !== undefined;
@@ -13,7 +13,7 @@ const DataTable_Main = (props) => {
table = useMaterialReactTable(props);
}
return <DataTable_Paper table={table} />;
return <DataTable_Paper table={table} columns={props.columns}/>;
};
export default DataTable_Main;