clear structure of datatable directories
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user