UNPKG

msb-react-data-table

Version:

``` import './App.css'; import DataTable from "msb-react-data-table";

6 lines (5 loc) 298 B
import React from "react"; import { DataTableProps } from "./types"; import './DataTable.css'; declare const DataTable: <T extends {}>({ data, columns, rowsPerPage, options, onRowClick, defaultSortKey, defaultSortDirection }: DataTableProps<T>) => React.JSX.Element; export default DataTable;