UNPKG
msb-react-data-table
Version:
latest (2.0.1)
2.0.1
2.0.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
``` import './App.css'; import DataTable from "msb-react-data-table";
msb-react-data-table
/
dist
/
DataTable.d.ts
6 lines
(5 loc)
•
298 B
TypeScript
View Raw
1
2
3
4
5
6
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
;