adminFront/src/pages/dashboard/Content/Tariffs/tariffsDG.tsx

28 lines
983 B
TypeScript
Raw Normal View History

import * as React from "react";
import { GridColDef, GridSelectionModel, GridToolbar } from "@mui/x-data-grid";
import DataGrid from "@kitUI/datagrid";
const columns: GridColDef[] = [
{ field: 'id', headerName: 'ID', width: 150 },
{ field: 'id', headerName: 'Название тарифа', width: 150 },
{ field: 'id', headerName: 'Сервис', width: 150 },//инфо из гитлаба.
{ field: 'id', headerName: 'Гигабайты', width: 150 },
{ field: 'id', headerName: 'Привелегия', width: 150 },
{ field: 'id', headerName: 'Количество привелегии', width: 150 },
{ field: 'id', headerName: 'Условия', width: 150 },
]
export default () => {
return (
<DataGrid
checkboxSelection={true}
rows={ [] }
columns={columns}
components={{ Toolbar: GridToolbar }}
// onSelectionModelChange={ (ids) => onRowsSelectionHandler( ids ) }
/>
);
}