datatable reading local storage

This commit is contained in:
2024-02-18 11:37:30 +03:30
parent d89e86813d
commit 0d35263ca2
6 changed files with 251 additions and 6 deletions

View File

@@ -1,11 +1,17 @@
import {TableSettingProvider} from "@/lib/contexts/tableSetting";
export const metadata = {
title: 'سامانه جامع راهداری',
}
export default function RootLayout({children}) {
return (<html lang="fa" dir={'rtl'}>
return (
<html lang="fa" dir={'rtl'}>
<body style={{height: '100vh'}}>
{children}
<TableSettingProvider>
{children}
</TableSettingProvider>
</body>
</html>)
</html>
)
}

View File

@@ -1,5 +1,9 @@
const Page = () => {
return (<></>)
import DataTableTest from "@/components/DataTableTest";
function page() {
return (
<DataTableTest/>
);
}
export default Page
export default page;