feat: implement DataTable component with custom styling for dashboard and subscriptions pages
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user