feat: implement DataTable component with custom styling for dashboard and subscriptions pages

This commit is contained in:
fredy.siswanto
2025-02-26 23:25:05 +07:00
parent 238e69b5e2
commit d273d9ecc6
4 changed files with 34 additions and 1 deletions
+22
View File
@@ -0,0 +1,22 @@
import DT from 'datatables.net-dt'
import DataTable from 'datatables.net-react'
export const TableComponent = () => {
DataTable.use(DT)
return (
<>
<h1>test</h1>
<DataTable
className="cell-border"
data={[]}
columns={[]}
options={{
paging: true,
searching: true,
ordering: true,
info: true,
}}
></DataTable>
</>
)
}